play/pause fixed; mark current song in queue

This commit is contained in:
XenGi 2024-02-25 21:48:18 +01:00
parent 671bcd300f
commit fbd482d876
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
3 changed files with 18 additions and 19 deletions

View file

@ -14,7 +14,7 @@
- [x] `Pause` button
- [x] Track seeker
- [x] `Repeat` toggle
- [ ] `Shuffle` toggle
- [x] `Shuffle` toggle
- [ ] xfade
- [ ] decrease
- [ ] increase
@ -55,10 +55,10 @@
## backend
- Websocket
- [ ] `#status` requests mpd infos:
- [x] `#status` requests mpd infos:
- `status`
- `currentsong`
- `playlistinfo`
- `playlistinfo` (queue)
- [ ] `#download` requests download of URL (`yt-dlp`)
- *TBA*
- API endpoints
@ -67,10 +67,10 @@
- [x] `/api/next_track`
- [x] `/api/stop`
- [x] `/api/play`
- [ ] `/api/pause`
- [x] `/api/pause`
- [x] `/api/seek/:seconds`
- [ ] `/api/repeat`
- [ ] `/api/random`
- [x] `/api/repeat`
- [x] `/api/random`
- [x] `/api/volume/:level`
- [ ] `/api/xfade/:seconds`
- [ ] `/api/queue_clear`
@ -81,12 +81,3 @@
- [ ] `/api/list_playlists`
- [ ] `/api/save_playlist`
- [ ] `/api/delete_playlist`
# foo
- client: connect websocket
- server: on_connect: send full state
- server: subscribe to changes
- server: on_change: send to client