kryten-webqueue 0.2.1__tar.gz → 0.2.3__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.3}/PKG-INFO +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/__main__.py +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/app.py +2 -2
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/catalog/sync.py +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/pyproject.toml +1 -1
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/.github/workflows/python-publish.yml +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/.github/workflows/release.yml +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/.gitignore +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/README.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/config.example.json +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/deploy/kryten-webqueue.service +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/deploy/nginx-queue.conf +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/IMPLEMENTATION_SPEC.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/IMPL_API_GATE.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/IMPL_ECONOMY.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/IMPL_KRYTEN_PY.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/IMPL_ROBOT.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/PRE_PLAN_GAPS.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/docs/PRODUCT_PLAN.md +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/api_gate/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/api_gate/client.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/auth/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/auth/otp.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/auth/rate_limit.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/auth/session.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/catalog/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/catalog/db.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/catalog/images.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/config.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/playlists/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/playlists/fire.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/playlists/importer.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/playlists/scheduler.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/queue/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/queue/ordering.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/queue/poller.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/queue/shadow.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/admin_playlists.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/admin_queue.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/admin_schedules.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/auth.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/catalog.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/pages.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/queue.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/routes/user.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/static/css/main.css +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/static/js/main.js +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/admin/index.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/auth/login.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/base.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/catalog/browse.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/queue/index.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/user/dashboard.html +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/ws/__init__.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/ws/handler.py +0 -0
- {kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/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__":
|
|
@@ -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
|
-
logger.
|
|
99
|
+
logger.exception(f"Catalog sync error: {type(e).__name__}: {e}")
|
|
100
|
+
await asyncio.sleep(interval)
|
|
101
101
|
|
|
102
102
|
async def _otp_cleanup_loop():
|
|
103
103
|
while True:
|
|
@@ -59,7 +59,7 @@ class CatalogSync:
|
|
|
59
59
|
await self._db.finish_sync_log(log_id, stats, "completed")
|
|
60
60
|
logger.info(f"Catalog sync: {stats}")
|
|
61
61
|
except Exception as e:
|
|
62
|
-
logger.
|
|
62
|
+
logger.exception(f"Catalog sync failed: {type(e).__name__}: {e}")
|
|
63
63
|
stats["errors"] += 1
|
|
64
64
|
await self._db.finish_sync_log(log_id, stats, "error")
|
|
65
65
|
|
|
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
|
|
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.3}/kryten_webqueue/templates/catalog/browse.html
RENAMED
|
File without changes
|
|
File without changes
|
{kryten_webqueue-0.2.1 → kryten_webqueue-0.2.3}/kryten_webqueue/templates/user/dashboard.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|