update archive thumbnail

This commit is contained in:
jaehwang committed 2026-09-09 09:51:50 +09:00
1 parent ca9e40f43d
commit 3555fa05a2
6 files changed
+27 -5

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ from sqlalchemy.ext.asyncio import AsyncSession
from models.nol import NolMeta
from pipelines.gate import period_text
from pipelines.playreel import thumbnail_url
from pipelines.runner import DONE
from routers.view import UNNAMED
from tables.task import PlayreelTask, PosterAliveTask
@@ -52,7 +53,7 @@ def playreel_entry(task: PlayreelTask) -> dict:
"narration": [line["text"] for line in task.narration_lines or []] or None,
"poster_url": task.upscaled_poster_url or task.poster_url,
"video_url": task.video_url,
"thumbnail_url": None,
"thumbnail_url": thumbnail_url(task),
"version": task.version,
"credits_used": task.credits_used,
"f2_variants": [],
+2 -1
View File
@@ -4,6 +4,7 @@
from models.motion import MotionPlan
from models.pipeline_state import PlayreelState, PosterAliveState, stage_keys
from pipelines.gate import build_review
from pipelines.playreel import thumbnail_url
from tables.task import PlayreelTask, PosterAliveTask
@@ -81,6 +82,6 @@ def playreel_view(task: PlayreelTask) -> dict:
"metadata": None,
"artifacts": {key: url for key, url in (
("video", task.video_url),
("thumbnail", task.analysis_grid_url),
("thumbnail", thumbnail_url(task)),
) if url},
}