03-06-2024, 01:08 AM
(03-05-2024, 09:24 PM)Uk0kA Wrote:(03-05-2024, 09:23 PM)Tim Curtis Wrote: Its odd that the shuffle is not more randomized than what you are experiencing.
In any case here is the project repo and documentation You can read about the shuffle algorithm.
https://github.com/joshkunz/ashuffle
There is a window-size parameter that may help increase randomness but someone would have to add it to the ashuffle launch string to test if it actually works.
Its function startAutoShuffle() in file /var/www/inc/music-library.php
Great! Something to sink my teeth into. thanks!
Indeed MUCH more complicated than I could have guessed.
But yes, I'd say that the "window-size" parameter could work as a new option to queue up X unique songs from the collection.
And the function in music-library.php seems quite straight forward but I have no clue how to add the tweak:
Code:
--tweak window-size=7
anyone care to take a stab at it? I'll test it out.