Rockbox
Find a file
Daniel Stenberg 5e5f1e247b When shuffle is ENABLED. And you press PLAY in a dir, the selected song
is now the first song to get played. To do this, we first remember which
song that was selected, shuffle the list and then find the selected song
in the shuffled list and play that.

This will have some interesting side effects if the song ends up for example
last in the shuffled list when we consider not always doing repeat-all as
then it'll reach the end of the playlist after one song.

We could optionally put the selected song first in the playlist and then
shuffle all the rest, as that would possibly be closer to what people will
assume it will do.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1803 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 12:45:01 +00:00
apps When shuffle is ENABLED. And you press PLAY in a dir, the selected song 2002-08-19 12:45:01 +00:00
CVSROOT Removed cvs@haxx.se again 2002-06-07 11:14:47 +00:00
firmware Fall back to fixed font if loadable font is not present 2002-08-19 12:03:02 +00:00
gdb Fixed scramble path and main target 2002-06-19 12:04:21 +00:00
tools made it output valid C code even if given a filename that starts with a 2002-08-19 08:04:48 +00:00
uisimulator Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled. 2002-08-16 14:41:47 +00:00
www some FAQ battery questions 2002-08-19 11:44:04 +00:00