aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl/youtube-dl.1
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-05-25 20:54:02 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:28:54 +0700
commitbe4456663950cb1fece65b2fa53a1048433ee79a (patch)
treeec668e56b93950c8a4fa7fe5bbb7b10754469763 /network/youtube-dl/youtube-dl.1
parentdd81d4c8d3550afb856a1dd32e4e01e5488c2c84 (diff)
network/youtube-dl: Updated for version 2017.05.23.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl/youtube-dl.1')
-rw-r--r--network/youtube-dl/youtube-dl.114
1 files changed, 8 insertions, 6 deletions
diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1
index e37b410138ca2..49818dc4f9ff3 100644
--- a/network/youtube-dl/youtube-dl.1
+++ b/network/youtube-dl/youtube-dl.1
@@ -847,12 +847,14 @@ Write metadata to the video file
.TP
.B \-\-metadata\-from\-title \f[I]FORMAT\f[]
Parse additional metadata like song title / artist from the video title.
-The format syntax is the same as \-\-output, the parsed parameters
-replace existing values.
-Additional templates: %(album)s, %(artist)s.
-Example: \-\-metadata\-from\-title "%(artist)s \- %(title)s" matches a
-title like "Coldplay \- Paradise"
-.RS
+The format syntax is the same as \-\-output.
+Regular expression with named capture groups may also be used.
+The parsed parameters replace existing values.
+Example: \-\-metadata\-from\- title "%(artist)s \- %(title)s" matches a
+title like "Coldplay \- Paradise".
+Example (regex): \-\-metadata\-from\-title "(?P.+?) \- (?P
+.RS
+\&.+)"
.RE
.TP
.B \-\-xattrs