sanic/NOTES.md
2024-04-06 19:27:59 +02:00

85 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# features
## frontend
- Ribbon menu
- [x] Show mpd connection state
- [ ] Display config dialog (is this even needed?)
- [x] `Update DB` button
- [x] Disable if running update is detected
- [x] `Previous Track` button
- [x] `Next Track` button
- [x] `Stop` button
- [x] `Play` button
- [x] `Pause` button
- [x] Track seeker
- [x] `Repeat` toggle
- [x] `Shuffle` toggle
- [ ] xfade
- [ ] decrease
- [ ] increase
- [x] Volume
- [x] increase
- [x] decrease
- [x] set with bar
- [x] `Now playing`
- [x] shows current track
- [x] marquee effect
- [x] `Time`
- Queue
- [x] Show queue
- [x] Highlight current track
- [ ] Move track up
- [ ] Move track down
- [ ] Remove track
- [ ] `Clear queue` button?
- File browser
- [ ] List all directories
- [ ] Selected folder has different icon (📂 vs 📁)
- [ ] Folders with subfolders have a or sign
- [ ] Clicked folders contents are displayed in the results
- [ ] Select tracks in results
- [ ] `Add` selected tracks to queue button
- Search
- [ ] Search files results
- [ ] Select tracks in results
- [ ] `Add` selected tracks to queue button
- Playlist browser
- [ ] Show current playlists
- [ ] `Replace` current queue with playlist button
- [ ] `Attach` playlist to current queue button
- [ ] `Save` current queue as playlist button
- [x] Show dialog
- [ ] `Delete` selected playlist button
## backend
- Websocket
- [x] `#status` requests mpd infos:
- `status`
- `currentsong`
- `playlistinfo` (queue)
- [ ] `#download` requests download of URL (`yt-dlp`)
- *TBA*
- API endpoints
- [x] GET `/api/update_db`
- [x] GET `/api/previous_track`
- [x] GET `/api/next_track`
- [x] GET `/api/stop`
- [x] GET `/api/play`
- [x] GET `/api/pause`
- [x] GET `/api/seek/:seconds`
- [x] GET `/api/repeat`
- [x] GET `/api/random`
- [x] GET `/api/volume/:level`
- [ ] `/api/xfade/:seconds`
- [ ] `/api/queue_clear`
- [ ] POST `/api/queue` `{"song_id": 123}`
- [x] GET `/api/queue/:song_id/delete`
- [x] GET `/api/queue/:song_id/move/:position`
- [ ] `/api/list_database/:path`
- [ ] `/api/list_playlists`
- [ ] `/api/save_playlist`
- [ ] `/api/delete_playlist`