Page 1 of 1

shuffle without moving entries (android)

PostPosted: Tue Jan 17, 2012 11:54 pm
by tofuSCHNITZEL
When you shuffle on android the playlist entries are getting shuffled, it would be a better alternative to leave the list as it is and just move the "play next cursor" randomly. That way you can easily return to a non shuffled playing order.

Re: shuffle without moving entries (android)

PostPosted: Fri Jan 20, 2012 3:38 pm
by wraithdu
This would break the caching scheme I would imagine, since the app wouldn't know ahead of time which song is playing next and which song(s) to cache next.

Re: shuffle without moving entries (android)

PostPosted: Fri Jan 20, 2012 5:19 pm
by nibato
wraithdu wrote:This would break the caching scheme I would imagine, since the app wouldn't know ahead of time which song is playing next and which song(s) to cache next.


If you determined the next song at the end of each song then, yes, you would be correct. However, you could determine the next song at initial playing of the current song, and preload it then. You could repeat this step for precaching even more songs. It would be a sort of predetermined randomization.

It would be a nice feature to have, so you could keep your playlists a little more structured, but it wouldn't suprise me if it gets considered as very low priority.

Re: shuffle without moving entries: android AND web player

PostPosted: Wed Mar 19, 2014 9:30 am
by unhammer
I'd like this for the web player as well!

1) When you build up playlists, it's so much easier to see what's actually in them if they're sorted.

2) When you're playing a playlist and you suddenly find you want to switch to a certain song, it's so much easier to find it if it's sorted.

But it'd be nice to be able to play in random/shuffle mode even though the list is sorted.

As mentioned, there's an easy way to fix caching: whenever you switch from regular play-mode to shuffle play-mode, the program creates a "hidden/internal" playlist that's shuffled. It uses that to do caching and to figure out what to play next. This internal playlist also avoids getting two songs in a row (which could happen if you just pick a random song every time you click next). The internal playlist would have to be updated whenever songs are added to / removed from the showed playlist.