Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
randomize playlist order, i.e. --playlist-random #11889
Comments
|
I should also add that the "random sampling" scenario I outlined above should be possible because you would be able to combine it with Here I'm referencing the fact |
|
New parameter added. Pull request created. |
|
Oh, I tested my code with '--max-downloads' and '--download-archive' - seems to work as intended! |
New parameter --playlist-random to randomize playlist download order. Fixes #11889
|
Thanks to @ThomasChr, there's --playlist-random now! |
|
Very many thanks! |
What is the purpose of your issue?
Please add support for randomizing the playlist download order via
--playlist-random(or whatever other switch name).Since there is already an option for
--reverse-playlist, I don't think this should be too hard? (I'd contribute it myself if I was more confident in my python skills.)The motivation for this feature is that it could be used in conjunction with
--max-downloads(i.e. set to a low value) to randomly "sample" a variety of videos from across a channel with lots of videos, as opposed to just being able to get the first few (or last few, using--reverse-playlist).