mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-23 05:09:28 +00: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)
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user