|
|
@ -814,11 +814,12 @@ def parseOpts(overrideArguments=None):
|
|
|
|
'--metadata-from-title',
|
|
|
|
'--metadata-from-title',
|
|
|
|
metavar='FORMAT', dest='metafromtitle',
|
|
|
|
metavar='FORMAT', dest='metafromtitle',
|
|
|
|
help='Parse additional metadata like song title / artist from the video title. '
|
|
|
|
help='Parse additional metadata like song title / artist from the video title. '
|
|
|
|
'The format syntax is the same as --output, '
|
|
|
|
'The format syntax is the same as --output. Regular expression with '
|
|
|
|
'the parsed parameters replace existing values. '
|
|
|
|
'named capture groups may also be used. '
|
|
|
|
'Additional templates: %(album)s, %(artist)s. '
|
|
|
|
'The parsed parameters replace existing values. '
|
|
|
|
'Example: --metadata-from-title "%(artist)s - %(title)s" matches a title like '
|
|
|
|
'Example: --metadata-from-title "%(artist)s - %(title)s" matches a title like '
|
|
|
|
'"Coldplay - Paradise"')
|
|
|
|
'"Coldplay - Paradise". '
|
|
|
|
|
|
|
|
'Example (regex): --metadata-from-title "(?P<artist>.+?) - (?P<title>.+)"')
|
|
|
|
postproc.add_option(
|
|
|
|
postproc.add_option(
|
|
|
|
'--xattrs',
|
|
|
|
'--xattrs',
|
|
|
|
action='store_true', dest='xattrs', default=False,
|
|
|
|
action='store_true', dest='xattrs', default=False,
|
|
|
|