From 741cb466ef96d6536f76f0899ab07edf22c337c5 Mon Sep 17 00:00:00 2001 From: doucheymcdoucherson Date: Fri, 6 Jul 2018 14:09:12 -0700 Subject: [PATCH] fixes #3110 --- headphones/searcher.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/headphones/searcher.py b/headphones/searcher.py index 7df016f2..2acdf30f 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1504,6 +1504,8 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None, logger.info(u"Searching %s..." % provider) all_torrents = [] + album_type = "" + # Specify release types to filter by if album['Type'] == 'Album': album_type = [gazellerelease_type.ALBUM] @@ -1530,6 +1532,8 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None, album_type = [gazellerelease_type.INTERVIEW] if album['Type'] == 'Mixtape/Street': album_type = [gazellerelease_type.MIXTAPE] + if album['Type'] == 'Other': + album_type = [gazellerelease_type.UNKNOWN] for search_format in search_formats: if usersearchterm: