HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: elcosomalo on 2021-11-22 19:08:27

Title: Shuffle tracks algorithm not very good
Post by: elcosomalo on 2021-11-22 19:08:27
What the title says.
I have many playlists some with 1000+ songs and all with shuffle (tracks). Problem is that I hear the same songs 6 out of 10 times. In fact by doing "manual" listening I find songs that never played and those are a LOT, most of my collection haven't played at all.

Can that algorithm be upgraded? something that reads a play count on each song or something like that so the program can put that song at the end of a playlist or simply grab another song?

Not a coder so I'm just presenting the "problem" and an idea.

Title: Re: Shuffle tracks algorithm not very good
Post by: regor on 2021-11-23 08:39:08
That makes no sense. Shuffle by tracks will never repeat the same track on the same listening session, unless it has already played all tracks on the list.
https://www.foobar2000.org/FAQ#random_shuffle_playback_order

So unless you are experiencing a bug, that is not possible.

If you are stopping playback and then starting it again with shuffle... yes, obviously the same tracks can still be played. Create an autoplaylist by last played time for tracks not played in the last hour for ex and then use shuffle there.
Title: Re: Shuffle tracks algorithm not very good
Post by: elcosomalo on 2022-08-20 16:39:11
That is precisely the problem, when you delete a track or skip, it erases all memory and just starts over again. That is what has to be corrected in the code.
Title: Re: Shuffle tracks algorithm not very good
Post by: anamorphic on 2022-08-21 12:59:59
Not the "algorithm", the problem is it re-shuffles the order when you restart foobar. This is my easy solution - use Skip Track to skip recently played tracks (https://hydrogenaud.io/index.php/topic,119401.msg984490.html#msg984490).
Title: Re: Shuffle tracks algorithm not very good
Post by: fuflo on 2022-08-24 23:01:51
you could also just ctrl+a, right click, sort -> randomize, and use the default playback order, or repeat.

requires you to redo the action at the playlist end, but with 1000+ tracks, it's not too frequent i imagine.
Title: Re: Shuffle tracks algorithm not very good
Post by: DJ Graco on 2022-09-20 19:30:58
Hello,
I noticed, that shuffle tracks selected in playback order creates a looping queue playlist. It is good behavior or bad?