diff options
| author | salmonik <raisersoft@proton.me> | 2026-05-05 22:59:43 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-05-05 22:59:43 +0200 |
| commit | 6a5aef96b08c4e842033a4c34c6261d2bbcb7651 (patch) | |
| tree | a328ee46bdee427d852158d26fc50b5b7df757fa /TODO.md | |
| parent | Add metadata extraction and display for folder playback (diff) | |
| download | rsplayer-6a5aef96b08c4e842033a4c34c6261d2bbcb7651.tar.gz rsplayer-6a5aef96b08c4e842033a4c34c6261d2bbcb7651.zip | |
Add flexible play command with position flags
- Add -i/--now, -n/--next, -l/--last flags to play command:
- 'play MUSIC' (default) adds to end of queue and plays
- 'play -i MUSIC' inserts after current and skips to it
- 'play -n MUSIC' inserts after current, doesn't skip
- 'play -l MUSIC' adds to end of queue (default behavior)
- Add insert_after_current and track_at methods to Queue in daemon
- Update play command handler to handle position arguments
- Fix queue display to correctly show playing track (compare track_idx
instead of display_idx with current_position)
Diffstat (limited to 'TODO.md')
| -rw-r--r-- | TODO.md | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -34,6 +34,8 @@ | |||
| 34 | 34 | ||
| 35 | - [x] **Metadata extraction and display** - Extract ID3/metadata tags from audio files and display as "INDEX. ARTIST - TITLE", falls back to filename. Uses symphonia for metadata extraction. | 35 | - [x] **Metadata extraction and display** - Extract ID3/metadata tags from audio files and display as "INDEX. ARTIST - TITLE", falls back to filename. Uses symphonia for metadata extraction. |
| 36 | 36 | ||
| 37 | - [x] **Flexible play command** - Added `-i/--now`, `-n/--next`, `-l/--last` flags to play command: `play MUSIC` (default - add to end and play), `play -i MUSIC` (insert after current and skip to it), `play -n MUSIC` (insert after current, don't skip), `play -l MUSIC` (add to end of queue). Also fixed queue display to correctly show playing track. | ||
| 38 | |||
| 37 | ## Potential Improvements | 39 | ## Potential Improvements |
| 38 | 40 | ||
| 39 | - [ ] **Add error handling for audio playback** - Consider more robust error handling in the audio thread. | 41 | - [ ] **Add error handling for audio playback** - Consider more robust error handling in the audio thread. |
