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
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:
@@ -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 });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user