mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-22 12:49:26 +00:00
Fix for newznab not being searched
This commit is contained in:
@@ -339,6 +339,10 @@ def searchNZB(album, new=False, losslessOnly=False):
|
||||
provider = "newznab"
|
||||
newznab_hosts = []
|
||||
|
||||
if headphones.NEWZNAB_HOST and headphones.NEWZNAB_ENABLED:
|
||||
|
||||
newznab_hosts.append((headphones.NEWZNAB_HOST, headphones.NEWZNAB_APIKEY, headphones.NEWZNAB_ENABLED))
|
||||
|
||||
for newznab_host in headphones.EXTRA_NEWZNABS:
|
||||
if newznab_host[2] == '1' or newznab_host[2] == 1:
|
||||
newznab_hosts.append(newznab_host)
|
||||
|
||||
Reference in New Issue
Block a user