HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: ThiefMaster on 2013-03-06 12:25:19

Title: Repeated shuffle playlist when selecting track manually
Post by: ThiefMaster on 2013-03-06 12:25:19
When the playback mode is set to "shuffle" you easily get a repeated playlist when selecting a track manually.

Let's assume this playlist (already-shuffled):
T1, T2, T3, T4, T5
Now I doubleclick on T2 since I really like that track and want to listen to it again. I would the playlist to continue with T5 after T2 has played.
However, it will continue with T3, T4, T5 instead. This is incredibly annoying!

An easy solution to avoid this would re-shuffling the playlist when doubleclicking a song or even better simply moving the song to the new position after the currently-playing track and then forwarding to it.

Since I'm sure someone is going to suggest "random" playback instead: For small playlists chances are good that I'll have repetitions and for large playlists I simply miss the ability to go back to a previous song easily.
Title: Repeated shuffle playlist when selecting track manually
Post by: marc2003 on 2013-03-06 12:46:14
enable "playback follows cursor" on the playback menu. play any track and then highlight the next track to be played in your playlist. it will jump there when done.
Title: Repeated shuffle playlist when selecting track manually
Post by: ThiefMaster on 2013-03-06 12:47:25
That's not really what I want. I'm in shuffle mode because I want random playback without annoying repetitions.
Except when I select a song manually because I want to listen to that one right now I want it to be on shuffle and I certainly do not want to do anything but enqueuing the song and then minimizing the player again.
Title: Repeated shuffle playlist when selecting track manually
Post by: ruebe on 2013-03-06 12:54:42
would it help to send the song to the playback queue?
Title: Repeated shuffle playlist when selecting track manually
Post by: ThiefMaster on 2013-03-06 12:55:25
nope, same behaviour
Title: Repeated shuffle playlist when selecting track manually
Post by: marc2003 on 2013-03-06 12:55:58
oops wasn't thinking about playback modes. i was thinking of the playback being normal with a randomised playlist (edit>sort>randomise)
Title: Repeated shuffle playlist when selecting track manually
Post by: ruebe on 2013-03-06 13:10:08
nope, same behaviour

indeed...which is, at least to me, very suprising

well, then edit > sort > randomize and then just drag and drop the song you want to listen again to to a new position
it's a work around, but better then nothing i guess
Title: Repeated shuffle playlist when selecting track manually
Post by: culinko on 2013-03-21 15:19:08
i'm still surprised this hasn't been resolved. imho this is a bug. the same song should definitely NOT play again in shuffle mode. afaik in winamp it was exactly like you wrote it should be (i will check). after you manually play your T2 song, T5 should follow. also, i don't agree that the playback should re-randomize again after the custom song is played.

foobar behavior: let's say i'm playing T1, T2, T3, T4 and T5 like you did. when listening to T2, i switch to C1 (custom song). during C1, i hit next/previous track. entirely different tracks are playing (let's name them C0 - previous; and C2 - next). when i play T1 again manually, T2, T3 and etc. follows. when T5 finishes and i manually play T1, the following track will be T2. when i play C1 again, C2 will be the following track. so, in conclusion, everytime i select the very same track, another very same track will follow. so when a large portion of tracks passed already (let's say i'm on T20), and i will switch back again to T2, because i like the track so much, the very same 18 tracks will follow, which i have already listened to. the very same tracks are definitelly not a SHUFFLE mode.

winamp behavior: let's say i'm playing T1, T2, T3, T4 and T5 like you did. when listening to T2, i switch to C1 (custom song). during C1, i hit next/previous track in shuffle mode. if i hit previous track, it will be T1 (going from C1). if i hit next track, it will be T3 (going from C1). so in fact the C1 SUBSTITUED the T2 track, leaving the playing order unchanged. if i go forward/backward a few tracks, it will always be the T(number) tracks. there won't be the C1 track anywhere. it even applies for multiple tracks. i'm listening to T3 and i manually play C1, then C2 then C10 (just random songs from playlist, the numbers really don't mean anything here) and i hit next track, it will be T4! when i hit previous track, it will be T2. so again, the LAST custom song just substitued the current song in the "playlist order". this works also for playing one favorite song multiple times. i'm playing T4, then switch to C1. after that it will automatically follow T5 and so on. let's say i'm already on T20 and want to play C1 again (because i love it so much!). guess what song will follow. yes, it will be T21! and again, if i'm already on T20 and i manually play T5 again, the next song will be also T21. this is imho the correct behavior.

i don't want to praise winamp (i switched to foobar long time ago), but they got this shuffle thing right. imho this should be the default behavior for the shuffle play. i don't think finding any workarounds or plugins will be the better path here, this bug should be fixed. i hope i didn't make any mistake in numbers and hope you will understand what i mean:)
Title: Re: Repeated shuffle playlist when selecting track manually
Post by: BlackRitus on 2017-12-28 11:03:49
After all these years, no replies and nothing has changed. I also vote for the winamp shuffle behaviour:
A manually selected track should substitute the currently playing song concerning the next/previous logic.

The only problem with this is, if you manually select a song that hasn't been played yet, this song will be played later from the internal list. Then the "in shuffle mode no song will play twice" isn't given anymore.
So there should at least be a check for the next song like in random mode to prevent the same song playing twice in a row. But you caused the "playing twice" all by yourself, so I don't see it as a real problem.

If you give up on the "no song will ever play twice" completely, you could also just use random mode. What lacks now is the possibility to go to previous tracks. So as an alternative just add an internal temporary cache of last played files in random mode?

What do you guys think about that? It bothers me for years now and by now I just told everyone (including myself) don't touch it when in shuffle mode!.
Title: Re: Repeated shuffle playlist when selecting track manually
Post by: culinko on 2017-12-28 20:42:51
A manually selected track should substitute the currently playing song concerning the next/previous logic.
This is exactly what I had in mind and it was how Winamp did it back then. It also worked with multiple tracks, e.g. if you manually queued 5 tracks and pressed previous/next on the last one, the final track was still substituted with the track that played before all of your manually queued songs. After all these years of using Foobar and customizing it, this shuffle behavior still annoys me so much. You won't believe how many times I had to manually switch to a completely different random track because it would play the same songs over and over just because I manually played my favorite track somewhere in between 2 times. And I definitely don't want to play the songs completely randomized when clicking next track. I want to be able to click "previous" and be able to jump to tracks I've already listened to (disregarding manually selected tracks).