X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=5e4a1ad9b2f9e38b3ac6752f50871a4344e3cebe;hb=6348ad12a057cc1c454488ce7c37070cf39a8f06;hp=1ddbdbc7870c5ede3ca12003482569fabb5051d8;hpb=baeaeffce550b23848983cd281f173a7906cd7f9;p=youtube-dl diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 1ddbdbc78..5e4a1ad9b 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -297,7 +297,7 @@ def parseOpts(overrideArguments=None): ' You can filter the video results by putting a condition in' ' brackets, as in -f "best[height=720]"' ' (or -f "[filesize>10M]"). ' - ' This works for filesize, height, width, tbr, abr, and vbr' + ' This works for filesize, height, width, tbr, abr, vbr, and fps' ' and the comparisons <, <=, >, >=, =, != .' ' Formats for which the value is not known are excluded unless you' ' put a question mark (?) after the operator.' @@ -394,6 +394,10 @@ def parseOpts(overrideArguments=None): '--playlist-reverse', action='store_true', help='Download playlist videos in reverse order') + downloader.add_option( + '--xattr-set-filesize', + dest='xattr_set_filesize', action='store_true', + help='(experimental) set file xattribute ytdl.filesize with expected filesize') downloader.add_option( '--external-downloader', dest='external_downloader', metavar='COMMAND',