From 0f00616dca071750381234b5c59c8ec1e71b28ed Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 8 May 2026 01:12:31 +0200 Subject: 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). --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 95d775c..1048440 100644 --- a/TODO.md +++ b/TODO.md @@ -64,6 +64,6 @@ - [ ] **Scrobbling (Last.fm/ListenBrainz)** - Add scrobbling support via configured credentials. -- [ ] **Shuffle first song** - First song is not being shuffled due to currently played track not being shuffled. +- [x] **Shuffle first song** - `update_shuffle_indices` now shuffles all indices when position is 0; directory playback uses `q.current()` instead of `files.first()`. - [ ] **In album shuffle** - Shuffle songs within albums, don't mix albums together (only applies to shuffle: album). -- cgit v1.2.3