fabito / htk8s

HTPC services running on Kubernetes
131 stars 23 forks source link

Pre configure bazarr #3

Closed fabito closed 5 years ago

fabito commented 5 years ago

Add init container logic to pre configure bazarr.

[assrt]
token = 

[opensubtitles]
username = 
use_tag_search = False
skip_wrong_fps = False
ssl = False
vip = False
timeout = 15
password = 

[sonarr]
apikey = abc
full_update = Daily
ip = sonarr
only_monitored = False
base_url = /sonarr
ssl = False
port = 8989

[proxy]
username = 
url = 
exclude = localhost,127.0.0.1
password = 
type = None
port = 

[radarr]
apikey = abc
full_update = Daily
ip = radarr
only_monitored = False
base_url = /radarr
ssl = False
port = 7878

[addic7ed]
username = 
password = 
random_agents = True

[legendastv]
username = 
password = 

[auth]
username = 
password = 
type = None

[general]
movie_default_hi = False
movie_default_language = []
ip = 0.0.0.0
use_scenename = True
use_postprocessing = False
enabled_providers = subscene,tvsubtitles
auto_update = True
port = 6767
use_radarr = True
base_url = /bazarr/
page_size = 25
minimum_score_movie = 70
branch = master
single_language = False
use_sonarr = True
serie_default_hi = False
path_mappings_movie = [['/movies', '/movies'], ['', ''], ['', ''], ['', ''], ['', '']]
serie_default_enabled = False
movie_default_enabled = False
serie_default_language = []
path_mappings = [['/tv', '/tv'], ['', ''], ['', ''], ['', ''], ['', '']]
postprocessing_cmd = 
minimum_score = 90
debug = False
use_embedded_subs = True
adaptive_searching = False
fabito commented 5 years ago

This command can be used to get the API_KEY:

cat radarr/config.xml | grep -oPm1 "(?<=<ApiKey>)[^<]+"