GRI-1874: signage playlists (#16) #99
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!99
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-1874-signage-playlists"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signage #16: playlists.
GET/POST /playlists,GET/PATCH/DELETE /playlists/{id}— CRUD.PUT /playlists/{id}/items— replace the item list wholesale.POST /devices/{device_id}/playlist— assign a playlist to a device and push it.crates/server/src/connections.rs(DeviceConnections) is the call site for Nyssa's #12 websocket session (not yet merged): registers device connections for push. With no live connection today, assignment is a no-op push and the device still picks up its assignment fromdevice_playlist_assignmentson its next connect.Verified:
cargo testunit suite green (91 tests incl. new playlist/connections tests),cargo clippy -D warningsclean,./scripts/local-gates.sh --rust-onlyexit 0.Follow-up, not in this PR: media upload buffers the whole file in memory (
field.bytes(), 8 GiB limit) — fine for PDF/images, video should stream to a temp file. Noted separately, after this.