Add default API endpoint for MediathekViewWeb instance

This commit is contained in:
hygienic-books 2022-03-13 17:28:19 +01:00
parent 576b3a56a9
commit f0130ce2fb
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ state_files_dir = %(state_base_dir)s/state
state_file_retention = 50
state_file_name_prefix = state-
state_file_name_suffix = .log
mvw_endpoint = http://localhost:8000/api/query
[maus]
min_duration = 1200

View File

@ -56,7 +56,8 @@ internal_defaults = {
"state_files_dir": "%(state_base_dir)s/state",
"state_file_retention": "50",
"state_file_name_prefix": "state-",
"state_file_name_suffix": ".log"
"state_file_name_suffix": ".log",
"mvw_endpoint": "http://localhost:8000/api/query"
}
config = ConfigParser(defaults=internal_defaults)
config.read(CONST.CFG_DEFAULT_FILENAME)