kryten-webqueue 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/PKG-INFO +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/__main__.py +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/pyproject.toml +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/.github/workflows/python-publish.yml +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/.github/workflows/release.yml +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/.gitignore +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/README.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/config.example.json +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/deploy/kryten-webqueue.service +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/deploy/nginx-queue.conf +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/IMPLEMENTATION_SPEC.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/IMPL_API_GATE.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/IMPL_ECONOMY.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/IMPL_KRYTEN_PY.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/IMPL_ROBOT.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/PRE_PLAN_GAPS.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/docs/PRODUCT_PLAN.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/api_gate/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/api_gate/client.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/app.py +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/auth/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/auth/otp.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/auth/rate_limit.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/auth/session.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/catalog/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/catalog/db.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/catalog/images.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/catalog/sync.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/config.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/playlists/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/playlists/fire.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/playlists/importer.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/playlists/scheduler.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/queue/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/queue/ordering.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/queue/poller.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/queue/shadow.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/admin_playlists.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/admin_queue.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/admin_schedules.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/auth.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/catalog.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/pages.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/queue.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/routes/user.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/static/css/main.css +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/static/js/main.js +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/admin/index.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/auth/login.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/base.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/catalog/browse.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/queue/index.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/user/dashboard.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/ws/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/ws/handler.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/ws/manager.py +0 -0
|
@@ -9,7 +9,7 @@ def main():
|
|
|
9
9
|
config_path = os.environ.get("WQ_CONFIG", "/etc/kryten-webqueue/config.json")
|
|
10
10
|
config = Config.from_file(config_path)
|
|
11
11
|
app = create_app(config)
|
|
12
|
-
uvicorn.run(app, host=config.host, port=config.port)
|
|
12
|
+
uvicorn.run(app, host=config.host, port=config.port, log_level="info")
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
if __name__ == "__main__":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -93,11 +93,11 @@ async def lifespan(app: FastAPI):
|
|
|
93
93
|
async def _catalog_sync_loop():
|
|
94
94
|
interval = config.catalog_sync_interval_hours * 3600
|
|
95
95
|
while True:
|
|
96
|
-
await asyncio.sleep(interval)
|
|
97
96
|
try:
|
|
98
97
|
await catalog_sync.sync()
|
|
99
98
|
except Exception as e:
|
|
100
99
|
logger.error(f"Catalog sync error: {e}")
|
|
100
|
+
await asyncio.sleep(interval)
|
|
101
101
|
|
|
102
102
|
async def _otp_cleanup_loop():
|
|
103
103
|
while True:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/catalog/browse.html
RENAMED
|
File without changes
|
|
File without changes
|
{kryten_webqueue-0.2.1 → kryten_webqueue-0.2.2}/kryten_webqueue/templates/user/dashboard.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|