Add default API endpoint for MediathekViewWeb instance
This commit is contained in:
parent
576b3a56a9
commit
f0130ce2fb
@ -6,6 +6,7 @@ state_files_dir = %(state_base_dir)s/state
|
|||||||
state_file_retention = 50
|
state_file_retention = 50
|
||||||
state_file_name_prefix = state-
|
state_file_name_prefix = state-
|
||||||
state_file_name_suffix = .log
|
state_file_name_suffix = .log
|
||||||
|
mvw_endpoint = http://localhost:8000/api/query
|
||||||
|
|
||||||
[maus]
|
[maus]
|
||||||
min_duration = 1200
|
min_duration = 1200
|
||||||
|
3
main.py
3
main.py
@ -56,7 +56,8 @@ internal_defaults = {
|
|||||||
"state_files_dir": "%(state_base_dir)s/state",
|
"state_files_dir": "%(state_base_dir)s/state",
|
||||||
"state_file_retention": "50",
|
"state_file_retention": "50",
|
||||||
"state_file_name_prefix": "state-",
|
"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 = ConfigParser(defaults=internal_defaults)
|
||||||
config.read(CONST.CFG_DEFAULT_FILENAME)
|
config.read(CONST.CFG_DEFAULT_FILENAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user