Add files via upload
This commit is contained in:
parent
49702e3669
commit
a831e24565
@ -1033,7 +1033,7 @@ class YoutubeDL(object):
|
||||
'!=': operator.ne,
|
||||
}
|
||||
operator_rex = re.compile(r'''(?x)\s*
|
||||
(?P<key>width|height|tbr|abr|vbr|asr|filesize|filesize_approx|fps)
|
||||
(?P<key>width|height|tbr|abr|vbr|asr|filesize|fps)
|
||||
\s*(?P<op>%s)(?P<none_inclusive>\s*\?)?\s*
|
||||
(?P<value>[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)
|
||||
$
|
||||
|
@ -813,6 +813,12 @@ def parseOpts(overrideArguments=None):
|
||||
'--add-metadata',
|
||||
action='store_true', dest='addmetadata', default=False,
|
||||
help='Write metadata to the video file')
|
||||
postproc.add_option(
|
||||
'--metadata',
|
||||
metavar='METADATA', dest='metafromuser', default=False,
|
||||
help='Allows the user to specify key/value pairs for encoding metadata, sepatated by equal sign.'
|
||||
'Example: --metadata "album = Movie Title artist = Various artists year = "2010"'
|
||||
'Also tries to capture artist information from the file description, if otherwise not available')
|
||||
postproc.add_option(
|
||||
'--metadata-from-title',
|
||||
metavar='FORMAT', dest='metafromtitle',
|
||||
|
Loading…
x
Reference in New Issue
Block a user