feat(signage): gallery widget (pictures and videos one after another, from a list or a media folder); media folders on the Media page
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>
This commit is contained in:
@@ -157,7 +157,7 @@ def identity_out(db) -> dict:
|
||||
|
||||
def _uses(db, media_id: int) -> list:
|
||||
logos = stored(db).logos
|
||||
return [{"id": 0, "name": f"identity.{k}"} for k in LOGOS if getattr(logos, k) == media_id]
|
||||
return [{"id": 0, "name": k} for k in LOGOS if getattr(logos, k) == media_id]
|
||||
|
||||
|
||||
def _register():
|
||||
|
||||
Reference in New Issue
Block a user