docs: document new plugin events, cliamp.queue, and cliamp.store

Sync docs/plugins.md and site/index.html with the expanded plugin surface:
the player.seek/volume/eq/mode and queue.change events, the cliamp.queue read
+ control API, and the cliamp.store KV API. Correct the player.mode repeat
value casing to match playlist.RepeatMode.String() (Off/All/One).
This commit is contained in:
Bjarne Øverli
2026-05-29 09:51:13 +02:00
parent c3fb948b1d
commit 69061a7599
3 changed files with 68 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const (
EventPlayerSeek = "player.seek" // data: position, duration (seconds)
EventPlayerVolume = "player.volume" // data: db
EventPlayerEQ = "player.eq" // data: bands (10-array), preset
EventPlayerMode = "player.mode" // data: shuffle (bool), repeat ("off"/"all"/"one")
EventPlayerMode = "player.mode" // data: shuffle (bool), repeat ("Off"/"All"/"One")
EventQueueChange = "queue.change" // data: count, index, queued
)