|
|
@ -5,6 +5,16 @@ from dlhdhr.app import create_app |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main() -> None: |
|
|
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() |
|
|
app = create_app() |
|
|
uvicorn.run(app, host=config.HOST, port=config.PORT) |
|
|
uvicorn.run(app, host=config.HOST, port=config.PORT) |
|
|
|
|
|
|
|
|
|