From 48648d1582b10992c72127751ce3034a857e2bbb Mon Sep 17 00:00:00 2001 From: Halali Date: Thu, 27 Dec 2018 23:10:10 +0100 Subject: [PATCH] Move providers config from DB to config file --- bazarr/config.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bazarr/config.py b/bazarr/config.py index d13829455..77f5553b9 100644 --- a/bazarr/config.py +++ b/bazarr/config.py @@ -32,7 +32,8 @@ defaults = { 'minimum_score_movie': '70', 'use_embedded_subs': 'True', 'only_monitored': 'False', - 'adaptive_searching': 'False' + 'adaptive_searching': 'False', + 'enabled_providers': '' }, 'auth': { 'type': 'None', @@ -62,6 +63,18 @@ defaults = { 'username': '', 'password': '', 'exclude': 'localhost,127.0.0.1' +}, + 'opensubtitles': { + 'username': '', + 'password': '' +}, + 'addic7ed': { + 'username': '', + 'password': '' +}, + 'legendastv': { + 'username': '', + 'password': '' }} settings = simpleconfigparser(defaults=defaults)