kryten-webqueue 0.2.8__tar.gz → 0.2.9__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.8 → kryten_webqueue-0.2.9}/PKG-INFO +1 -1
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/catalog/db.py +2 -2
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/catalog/browse.html +3 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/pyproject.toml +1 -1
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/.github/workflows/python-publish.yml +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/.github/workflows/release.yml +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/.gitignore +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/README.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/config.example.json +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/deploy/kryten-webqueue.service +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/deploy/nginx-queue.conf +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/IMPLEMENTATION_SPEC.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/IMPL_API_GATE.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/IMPL_ECONOMY.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/IMPL_KRYTEN_PY.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/IMPL_ROBOT.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/PRE_PLAN_GAPS.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/docs/PRODUCT_PLAN.md +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/__main__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/api_gate/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/api_gate/client.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/app.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/auth/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/auth/otp.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/auth/rate_limit.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/auth/session.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/catalog/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/catalog/images.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/catalog/sync.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/config.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/playlists/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/playlists/fire.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/playlists/importer.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/playlists/scheduler.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/queue/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/queue/ordering.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/queue/poller.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/queue/shadow.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/admin_playlists.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/admin_queue.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/admin_schedules.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/auth.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/catalog.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/pages.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/queue.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/routes/user.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/static/css/main.css +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/static/js/main.js +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/admin/index.html +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/auth/login.html +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/base.html +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/queue/index.html +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/user/dashboard.html +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/ws/__init__.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/ws/handler.py +0 -0
- {kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/ws/manager.py +0 -0
|
@@ -220,7 +220,7 @@ class Database:
|
|
|
220
220
|
|
|
221
221
|
async def browse(self, *, category: str | None = None, page: int = 1, per_page: int = 24) -> list[dict]:
|
|
222
222
|
query = """
|
|
223
|
-
SELECT c.friendly_token, c.title, c.duration_sec, c.cover_art_path, c.manifest_url
|
|
223
|
+
SELECT c.friendly_token, c.title, c.duration_sec, c.cover_art_path, c.thumbnail_url, c.manifest_url
|
|
224
224
|
FROM catalog c
|
|
225
225
|
WHERE c.friendly_token NOT IN (
|
|
226
226
|
SELECT spi.media_id FROM saved_playlist_items spi
|
|
@@ -244,7 +244,7 @@ class Database:
|
|
|
244
244
|
|
|
245
245
|
async def search(self, query_text: str, *, page: int = 1, per_page: int = 24) -> list[dict]:
|
|
246
246
|
sql = """
|
|
247
|
-
SELECT c.friendly_token, c.title, c.duration_sec, c.cover_art_path, c.manifest_url,
|
|
247
|
+
SELECT c.friendly_token, c.title, c.duration_sec, c.cover_art_path, c.thumbnail_url, c.manifest_url,
|
|
248
248
|
rank AS relevance
|
|
249
249
|
FROM catalog_fts fts
|
|
250
250
|
JOIN catalog c ON c.rowid = fts.rowid
|
{kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/catalog/browse.html
RENAMED
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
/static/images/{{ item.cover_art_path }}/800.webp 800w"
|
|
33
33
|
sizes="(max-width: 600px) 200px, 400px"
|
|
34
34
|
alt="{{ item.title }}" loading="lazy">
|
|
35
|
+
{% elif item.thumbnail_url %}
|
|
36
|
+
<img src="{{ item.thumbnail_url }}"
|
|
37
|
+
alt="{{ item.title }}" loading="lazy">
|
|
35
38
|
{% else %}
|
|
36
39
|
<div class="card-poster-placeholder">
|
|
37
40
|
<span>{{ item.title[:1] }}</span>
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kryten_webqueue-0.2.8 → kryten_webqueue-0.2.9}/kryten_webqueue/templates/user/dashboard.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|