pipeline UI polish: transcode reasons, scroll fix, series card overflow, rounded corners
All checks were successful
Build and Push Docker Image / build (push) Successful in 51s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 10:35:51 +01:00
parent 9c5a793a47
commit 1762f070a9
8 changed files with 29 additions and 15 deletions

View File

@@ -141,6 +141,18 @@ app.get('/pipeline', (c) => {
const noops = db.prepare('SELECT COUNT(*) as count FROM review_plans WHERE is_noop = 1').get() as { count: number };
// Add transcode reasons per review plan
const transcodeStmt = db.prepare(`
SELECT DISTINCT ms.codec, sd.transcode_codec
FROM stream_decisions sd
JOIN media_streams ms ON ms.id = sd.stream_id
WHERE sd.plan_id = ? AND sd.transcode_codec IS NOT NULL
`);
for (const item of review as any[]) {
const rows = transcodeStmt.all(item.id) as { codec: string; transcode_codec: string }[];
item.transcode_reasons = rows.map(r => `${(r.codec ?? '').toUpperCase()}${r.transcode_codec.toUpperCase()}`);
}
return c.json({ review, queued, processing, done, noopCount: noops.count, jellyfinUrl });
});