diff --git a/src/dlhdhr/__main__.py b/src/dlhdhr/__main__.py index db947f0..e042105 100644 --- a/src/dlhdhr/__main__.py +++ b/src/dlhdhr/__main__.py @@ -5,6 +5,16 @@ from dlhdhr.app import create_app def main() -> None: + print("== CONFIG ==") + print(f"HOST: {config.HOST}") + print(f"PORT: {config.PORT}") + print(f"CHANNEL_EXCLUDE: {config.CHANNEL_EXCLUDE}") + print(f"CHANNEL_ALLOW: {config.CHANNEL_ALLOW}") + print(f"EPG_PROVIDER: {config.EPG_PROVIDER}") + if config.EPG_PROVIDER == "epg.best": + print(f"EPG_BEST_XMLTV_URL: {config.EPG_BEST_XMLTV_URL}") + print("====") + app = create_app() uvicorn.run(app, host=config.HOST, port=config.PORT)