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 /src/audio.rs | |
| 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 '')
0 files changed, 0 insertions, 0 deletions
