Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Aceppt FS#10945 by Tomasz Kowalczyk - Fix playlists not returning to the origional order after shuffle/unshuffle


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24525 a1c6a512-1295-4272-9138-f99709370657

+2
+2
apps/playlist.c
··· 984 984 /* 985 985 * Sort the array of indices for the playlist. If start_current is true then 986 986 * set the index to the new index of the current song. 987 + * Also while going to unshuffled mode set the first_index to 0. 987 988 */ 988 989 static int sort_playlist(struct playlist_info* playlist, bool start_current, 989 990 bool write) ··· 1012 1013 playlist->shuffle_modified = false; 1013 1014 if (write && playlist->control_fd >= 0) 1014 1015 { 1016 + playlist->first_index = 0; 1015 1017 update_control(playlist, PLAYLIST_COMMAND_UNSHUFFLE, 1016 1018 playlist->first_index, -1, NULL, NULL, NULL); 1017 1019 }