Folders are only a grouping in the database (media_folders, media.folder_id, Alembic
0046): made, renamed, deleted (files stay) on the Media page, a file filed from its
details, uploads go into the folder shown, the picker filters by folder. The gallery
widget: its own pictures/videos in order or a folder as it is now, seconds each,
fade / slide / zoom, cover / contain. Plan 6R.16, F-114.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- services/video.py: background worker (one video at a time, low priority) makes a still
frame (thumb/card/full WebP) and, when needed, play.mp4 (H.264+AAC, <=1920 px, HDR
tone-mapped, faststart); the original is kept. Media.processing/progress (migration 0031,
existing videos queued). ffmpeg from the pinned imageio-ffmpeg wheel; none = as uploaded.
- MOV (video/quicktime) accepted; /api/media/file/<sha>/play served with ranges.
- Signage plays the version (poster = still frame) and tells the screens playing it when ready.
- Manager library: still frames in the grid, preparing progress, status in the details.
- Tests: test_video.py (8), backend 541 passed; e2e media/signage/stack new checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Media page and picker filter Everything / Your own / Built-in; built-in items
are marked and can't be renamed or deleted. The Devices page offers the
playlists for a signage screen (with its orientation and rotation).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Management → Media (src/pages/media/): every picture and video, search,
pictures / videos, batch upload (many files or drop on the page) with a
result per file, details (preview, display name, kind, resolution, length,
file size, uploaded file, when / who, the sizes made, what uses it, delete
off while used).
- MediaField: upload on the spot (into the library and set at once), pick
from the library (MediaPicker, which can also upload), remove; after an
upload on the spot "Name it after the product / category" renames it in
Latin letters. Used by the product editor and the category dialog.
- nav: `anyPerm` (any of the keys that manage pictures); the route guard uses
the same rule. Product rows have test ids.
- @xenia/i18n: latin() (Greek to Latin, the way venues write it) + tests.
- tests: manager media.test.mjs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>