1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 09:37:25 +00:00

Move providers config from DB to config file

This commit is contained in:
Halali 2018-12-27 23:10:10 +01:00
parent fcc663af91
commit 48648d1582

View file

@ -32,7 +32,8 @@ defaults = {
'minimum_score_movie': '70', 'minimum_score_movie': '70',
'use_embedded_subs': 'True', 'use_embedded_subs': 'True',
'only_monitored': 'False', 'only_monitored': 'False',
'adaptive_searching': 'False' 'adaptive_searching': 'False',
'enabled_providers': ''
}, },
'auth': { 'auth': {
'type': 'None', 'type': 'None',
@ -62,6 +63,18 @@ defaults = {
'username': '', 'username': '',
'password': '', 'password': '',
'exclude': 'localhost,127.0.0.1' 'exclude': 'localhost,127.0.0.1'
},
'opensubtitles': {
'username': '',
'password': ''
},
'addic7ed': {
'username': '',
'password': ''
},
'legendastv': {
'username': '',
'password': ''
}} }}
settings = simpleconfigparser(defaults=defaults) settings = simpleconfigparser(defaults=defaults)