aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-13 13:06:56 +0100
committerDanilo M. <danix@danix.xyz>2026-11-13 13:06:56 +0100
commitfe55526cbc6015c4268ee155f21bcb11de5609b5 (patch)
tree64b176513e7e63e8fdf170e026d4da078bce5185 /AGENTS.md
parentab2ebfd768bcc11f9c9124c15d9da700b9352587 (diff)
downloaddeck-it-fe55526cbc6015c4268ee155f21bcb11de5609b5.tar.gz
deck-it-fe55526cbc6015c4268ee155f21bcb11de5609b5.zip
feat(music): covers for embedded art and videos
Haruna sends an embedded audio cover inline as a data:image URL, which the module dropped, and clears mpris:artUrl for every video on purpose so the task manager shows the live window. Serve both at /api/music/image/<key>: the data URL decoded, a local video as one ffmpeg frame (thumbnail filter, 480 px wide), made on first request and kept until the track changes. Only the current track's key answers, so the tablet names a key, never a path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 0e45a4f..4c34dee 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -103,6 +103,10 @@ Keep the server dependency-free apart from that one package.
shows that tab that long and then goes back, unless the page is touched or
the tab changed meanwhile. `windows.js` peeks on a window id the last poll
lacked, for `[windows] peek` seconds (0 off).
+- `music` drives any MPRIS player through `playerctl` (playerctld picks the
+ last active one). A `data:` cover, or a local video with no cover (Haruna
+ sends none), is served at `/api/music/image/<key>`, a video as an `ffmpeg`
+ frame; only the current track's key answers.
- Launchers are `[launch] apps`, desktop ids run with `gtk-launch`; label and
icon come from the `.desktop` file. The client sends the id, which must be
configured and installed.