mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 08:53:59 +01:00
fixes #3110
This commit is contained in:
@@ -1504,6 +1504,8 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None,
|
|||||||
logger.info(u"Searching %s..." % provider)
|
logger.info(u"Searching %s..." % provider)
|
||||||
all_torrents = []
|
all_torrents = []
|
||||||
|
|
||||||
|
album_type = ""
|
||||||
|
|
||||||
# Specify release types to filter by
|
# Specify release types to filter by
|
||||||
if album['Type'] == 'Album':
|
if album['Type'] == 'Album':
|
||||||
album_type = [gazellerelease_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]
|
album_type = [gazellerelease_type.INTERVIEW]
|
||||||
if album['Type'] == 'Mixtape/Street':
|
if album['Type'] == 'Mixtape/Street':
|
||||||
album_type = [gazellerelease_type.MIXTAPE]
|
album_type = [gazellerelease_type.MIXTAPE]
|
||||||
|
if album['Type'] == 'Other':
|
||||||
|
album_type = [gazellerelease_type.UNKNOWN]
|
||||||
|
|
||||||
for search_format in search_formats:
|
for search_format in search_formats:
|
||||||
if usersearchterm:
|
if usersearchterm:
|
||||||
|
|||||||
Reference in New Issue
Block a user