aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorThomas Christlieb <thomaschristlieb@hotmail.com>2017-01-31 10:03:31 +0100
committerThomas Christlieb <thomaschristlieb@hotmail.com>2017-01-31 10:03:31 +0100
commit75822ca7909d7f7e15694f73b05b2bf0f1fa61f3 (patch)
tree0dcf18e250e1091f5061b8259a60b9e1e6a49ed1 /youtube_dl/options.py
parentdadb836139f070da9364439bf3b148eec8bc0b11 (diff)
downloadyoutube-dl-75822ca7909d7f7e15694f73b05b2bf0f1fa61f3.tar.xz
New parameter --playlist-random to randomize playlist download order. Fixes #11889
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 3abf621c0..349f44778 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -471,6 +471,10 @@ def parseOpts(overrideArguments=None):
action='store_true',
help='Download playlist videos in reverse order')
downloader.add_option(
+ '--playlist-random',
+ action='store_true',
+ help='Download playlist videos in random order')
+ downloader.add_option(
'--xattr-set-filesize',
dest='xattr_set_filesize', action='store_true',
help='Set file xattribute ytdl.filesize with expected file size (experimental)')