feat(manager): built-in collection in the Media page and picker; signage screen settings in Devices (platform-v2 step 5.4a)

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>
This commit is contained in:
2026-11-17 18:35:13 +02:00
co-authored by Claude Opus 5.5
parent 7fc32ad917
commit a2d9e55222
9 changed files with 44 additions and 18 deletions
@@ -1,8 +1,8 @@
// The media library's API (backend: local_backend/routers/media.py, plan steps 5.1 / 5.2).
import client from '../../api/client'
export const listMedia = ({ kind, q, limit = 500 } = {}) =>
client.get('/api/media', { params: { kind: kind || undefined, q: q || undefined, limit } }).then(r => r.data)
export const listMedia = ({ kind, q, collection, limit = 500 } = {}) =>
client.get('/api/media', { params: { kind: kind || undefined, q: q || undefined, collection: collection || undefined, limit } }).then(r => r.data)
export const getMedia = id => client.get(`/api/media/${id}`).then(r => r.data)