Hello all,
I've been looking for a way to play a files in a playlist in a true random manner - files playing random, from a random starting point and for a random duration.
While there were few other posts on the internet about this same thing, I couldn't find an answer and a way to do this. The closest thing to the above is this addon called Sampler: https://addons.videolan.org/content/sho ... ent=149688
It does a fine job but the problem is that it doesn't play the file for a random duration. It rather plays the files for a predetermined duration.
I googled "random generated number in lua" and tried messing with the lua script to add a line for it but I simply don't know anything about lua and couldn't do anything.
So the Sampler cuts the video onto pieces (samples per item field) and I want each sample to have a random duration (lets say between 10 and 600 seconds, or until it ends) determined by this RNG.
Is this even possible in lua (vlc)? Could anybody help me out and point me a way to do this? Even if it's external program/script or another player. I'm willing to try anything at this point
Thank you.