mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-21 10:45:12 -04:00
Fixed: Include all items if no category is specified in rtorrent
This commit is contained in:
1 parent
f3573d4deb
commit
cfcc5b13e4
1 file changed
+2
-2
@@ -89,11 +89,11 @@ public override IEnumerable<DownloadClientItem> GetItems()
|
||||
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();
|
||||
|
||||
Reference in new issue
Block a user