- signage_playlists (name, orientation, default transition) and signage_slides (kind menu | image | video | text, position, duration, transition, video to its end, on/off, days / hours / dates, content typed per kind: extra fields refused, pictures / videos as media ids). Alembic 0029. - /api/signage: playlists CRUD, duplicate, timeline order; slides add (at a position), change, delete, duplicate; screens (playlist, orientation, rotation, orientation mismatch). The screen's GET /api/signage/screen gives its playlist resolved for playing with a version hash. Changes send signage.changed only to the screens playing that playlist. - Signage device config: playlist (ref signage_playlists), orientation, rotation. Slides register their media usage. - Built-in pictures: assets/builtin_media/ imported at start (media.builtin), a collection of their own (?collection=builtin|own), never deleted or renamed (media.builtin). - tests: test_signage.py (8); 509 passed. Pack README: the signage row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
625 B
625 B
Built-in media (plan step 5.4a)
Pictures placed in this folder ship inside the backend image and are imported into every venue's media library at start-up as built-in items: they show in their own "Built-in" collection, can be picked anywhere (signage backgrounds, customer display looks, products), and can't be deleted or renamed by a venue. The display name is the file name without its extension (underscores and dashes become spaces).
Only picture files are imported (JPG, PNG, WebP, AVIF, GIF); this README and anything else is ignored. Removing a file here does not remove it from venues that already have it.