diff options
| author | salmonik <raisersoft@proton.me> | 2026-05-08 01:12:31 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-05-08 01:12:31 +0200 |
| commit | 0f00616dca071750381234b5c59c8ec1e71b28ed (patch) | |
| tree | 35d01b2ea8bbff458df5cb39ccc7d7b5dc6640ae /Cargo.toml | |
| parent | Add desktop notifications for track changes, queue end, and errors (diff) | |
| download | rsplayer-0f00616dca071750381234b5c59c8ec1e71b28ed.tar.gz rsplayer-0f00616dca071750381234b5c59c8ec1e71b28ed.zip | |
Fix shuffle first song not being shuffled
update_shuffle_indices now shuffles all indices when position is 0
(no tracks have been played yet), so the first track played is random
instead of always being tracks[0]. Directory playback now uses
q.current() to pick the first track, resolving through shuffled indices
when shuffle is active.
Also pins notify-rust version in Cargo.toml and removes PLAN.md
(superseded by TODO.md).
Diffstat (limited to '')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -32,7 +32,7 @@ dirs = "6.0" | |||
| 32 | libc = "0.2.186" | 32 | libc = "0.2.186" |
| 33 | ctrlc = "3.5.2" | 33 | ctrlc = "3.5.2" |
| 34 | rand = "0.10.1" | 34 | rand = "0.10.1" |
| 35 | notify-rust = "4" | 35 | notify-rust = "4.17.0" |
| 36 | 36 | ||
| 37 | [dev-dependencies] | 37 | [dev-dependencies] |
| 38 | tempfile = "3.17" | 38 | tempfile = "3.17" |
