From cfcc5b13e4b0214d7aed1bcc014a67374ee58484 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 13 Apr 2019 22:54:25 -0400 Subject: [PATCH] Fixed: Include all items if no category is specified in rtorrent --- src/NzbDrone.Core/Download/Clients/rTorrent/RTorrent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrent.cs b/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrent.cs index ec2399026..edf12de2b 100644 --- a/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrent.cs @@ -89,11 +89,11 @@ namespace NzbDrone.Core.Download.Clients.RTorrent foreach (RTorrentTorrent torrent in torrents) { // Don't concern ourselves with categories other than specified - if (torrent.Category != Settings.MusicCategory) continue; + if (Settings.MusicCategory.IsNotNullOrWhiteSpace() && torrent.Category != Settings.MusicCategory) continue; if (torrent.Path.StartsWith(".")) { - throw new DownloadClientException("Download paths paths must be absolute. Please specify variable \"directory\" in rTorrent."); + throw new DownloadClientException("Download paths must be absolute. Please specify variable \"directory\" in rTorrent."); } var item = new DownloadClientItem();