![]() |
Weighted random playlist Recently I played some music videos for my friends. I had the playlist prepared before and played it randomly. I think I'd like to have this feature: - I'd like to play a few videos preferentially, but still randomly. It's called weighted random. - Every line in playlist could have optional attribute Weight (1-99, default 1), which causes higher probability of playing than the others. - The playtlist could look like this: Video1.avi Video2.avi #5 Video3.avi #5 Video4.avi #20 Video5.avi Video6.avi ... It means, that the most probable played first are Video 4, then 2 and 3 and then the others. Value 99 means the highest probability. Explicit probability falls with total number of files. But still it's a probability, nothing can guarantee, that the file won't be played last. The feature that all files must be played before repeating, remains unchanged. What do you think ? |
All times are GMT +1. The time now is 11:07 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger