Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Custom Filters for Random play
#12
(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.
Reply


Messages In This Thread
Custom Filters for Random play - by Uk0kA - 07-09-2023, 07:48 PM
RE: Custom Filters for Random play - by Uk0kA - 03-05-2024, 03:03 PM
RE: Custom Filters for Random play - by Nutul - 03-05-2024, 04:29 PM
RE: Custom Filters for Random play - by Uk0kA - 03-05-2024, 07:10 PM
RE: Custom Filters for Random play - by Uk0kA - 03-05-2024, 08:59 PM
RE: Custom Filters for Random play - by Uk0kA - 03-05-2024, 09:06 PM
RE: Custom Filters for Random play - by Uk0kA - 03-05-2024, 09:24 PM
RE: Custom Filters for Random play - by Uk0kA - 03-06-2024, 01:08 AM
RE: Custom Filters for Random play - by Uk0kA - 03-06-2024, 01:35 AM
RE: Custom Filters for Random play - by Uk0kA - 03-06-2024, 05:04 PM
RE: Custom Filters for Random play - by Uk0kA - 11-27-2024, 05:49 PM
RE: Custom Filters for Random play - by Uk0kA - 12-04-2024, 04:32 PM

Forum Jump: