add replace playlist feature

This commit is contained in:
XenGi 2024-04-18 11:46:09 +02:00
parent 44dd0ddd9c
commit aeaef11341
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
4 changed files with 37 additions and 10 deletions

View file

@ -45,8 +45,8 @@
- [ ] Select tracks in results
- [ ] `Add` selected tracks to queue button
- Playlist browser
- [ ] Show current playlists
- [ ] `Replace` current queue with playlist button
- [x] Show current playlists
- [x] `Replace` current queue with playlist button
- [ ] `Attach` playlist to current queue button
- [ ] `Save` current queue as playlist button
- [x] Show dialog
@ -77,8 +77,10 @@
- [ ] POST `/api/queue` `{"song_id": 123}`
- [x] GET `/api/queue/:song_id/delete`
- [x] GET `/api/queue/:song_id/move/:position`
- [x] GET `/api/queue/replace/:playlist_name`
- [ ] `/api/list_database/:path`
- [ ] `/api/list_playlists`
- [x] GET `/api/playlists`
- [x] GET `/api/playlists/:name`
- [ ] `/api/save_playlist`
- [ ] `/api/delete_playlist`