Migrate all queue operations to V2 commands

- Add V2 queue commands: v2_set_shuffle, v2_move_queue_track,
  v2_add_tracks_to_queue, v2_add_tracks_to_queue_next,
  v2_remove_upcoming_track
- Migrate queueStore.ts to use all V2 queue commands
- Update all view components to use V2 queue commands:
  - HomeView, SearchView, ArtistDetailView, FavoritesView
  - LocalLibraryView, PlaylistDetailView
- Update +page.svelte to use V2 shuffle, repeat, and remove commands

No legacy queue commands are called from frontend anymore.
This commit is contained in:
vicrodh committed 2026-02-14 23:21:19 -06:00
1 parent 67ed397d02
commit 6cea4149c0
10 files changed
+138 -71

No files matched your search

+5
View File
@@ -1107,14 +1107,19 @@ pub fn run() {
commands_v2::v2_get_queue_state,
commands_v2::v2_set_repeat_mode,
commands_v2::v2_toggle_shuffle,
commands_v2::v2_set_shuffle,
commands_v2::v2_clear_queue,
commands_v2::v2_add_to_queue,
commands_v2::v2_add_to_queue_next,
commands_v2::v2_set_queue,
commands_v2::v2_remove_from_queue,
commands_v2::v2_remove_upcoming_track,
commands_v2::v2_next_track,
commands_v2::v2_previous_track,
commands_v2::v2_play_queue_index,
commands_v2::v2_move_queue_track,
commands_v2::v2_add_tracks_to_queue,
commands_v2::v2_add_tracks_to_queue_next,
// Search
commands_v2::v2_search_albums,
commands_v2::v2_search_tracks,