sanic/NOTES.md

688 B

mpd commands

  • previous track
  • next track
  • stop
  • play/pause
  • set track progress
  • set volume
  • repeat queue
  • shuffle queue
  • set fade
  • add track to queue
  • rm track from queue
  • move track in queue
  • clear queue
  • list tracks in music db
  • list playlists
  • save playlist
  • delete playlist

mpd state

  • state ("play", "stop", "pause")
  • repeat
  • shuffle
  • xfade
  • volume
  • track length/progress
    • track progress (seek)
  • track name

foo

  • client: connect websocket
  • server: on_connect: send full state
  • server: subscribe to changes
  • server: on_change: send to client