mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 00:44:00 +01:00
Couple of fixes to get the config to read the right variables, added global extras selection to config page
This commit is contained in:
@@ -610,12 +610,13 @@ class WebInterface(object):
|
||||
|
||||
headphones.EXTRA_NEWZNABS.append((newznab_host, newznab_api, newznab_enabled))
|
||||
|
||||
# Convert the extras to list then string
|
||||
# Convert the extras to list then string. Coming in as 0 or 1
|
||||
temp_extras_list = []
|
||||
extras_list = [ single, ep, compilation, soundtrack, live, remix, spokenword, audiobook]
|
||||
extras_list = [single, ep, compilation, soundtrack, live, remix, spokenword, audiobook]
|
||||
|
||||
i = 1
|
||||
for extra in extras_list:
|
||||
print repr(extra)
|
||||
if extra:
|
||||
temp_extras_list.append(i)
|
||||
i+=1
|
||||
|
||||
Reference in New Issue
Block a user