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:
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user