feat: add track, album and insert shuffle orders

Each function returns positions in the new play order, so the queue,
the original order and the player's URLs can be reordered by the same
list. Nothing calls them yet.
This commit is contained in:
Ansho Rei
2026-11-05 18:39:03 +01:00
parent 10710c1755
commit 7b2fe7c84e
4 changed files with 342 additions and 0 deletions
+2
View File
@@ -10,6 +10,8 @@ mod palette;
mod player;
mod prompts;
mod saved_queue;
#[cfg_attr(not(test), expect(dead_code, reason = "wired into the queue by 7ff72a1"))]
mod shuffle;
mod subsonic;
use std::time::Duration;