Couple of fixes to get the config to read the right variables, added global extras selection to config page

This commit is contained in:
rembo10
2012-08-19 01:45:53 +05:30
parent 5c35a57c33
commit c19354b0f9
2 changed files with 54 additions and 5 deletions
+3 -2
View File
@@ -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