aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-02-01 06:15:36 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-02-01 06:21:36 +0530
commitdbcea0585f2fef39b394fe0a9654a77cc5774f33 (patch)
tree61f945ea0d6289cc3f5f4329f7fe35c8a22e35e8 /README.md
parentf7d48541312f1dafbac4fae639cf3a06df776abc (diff)
downloadhypervideo-pre-dbcea0585f2fef39b394fe0a9654a77cc5774f33.tar.lz
hypervideo-pre-dbcea0585f2fef39b394fe0a9654a77cc5774f33.tar.xz
hypervideo-pre-dbcea0585f2fef39b394fe0a9654a77cc5774f33.zip
[outtmpl] Handle `-o ""` better
Since the specific type of file is not downloaded when giving `-o "<type>:"`, now `-o ""` acts as an alias to `--skip-download`
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ae09262c3..01325e906 100644
--- a/README.md
+++ b/README.md
@@ -1137,7 +1137,7 @@ To summarize, the general syntax for a field is:
%(name[.keys][addition][>strf][,alternate][&replacement][|default])[flags][width][.precision][length]type
```
-Additionally, you can set different output templates for the various metadata files separately from the general output template by specifying the type of file followed by the template separated by a colon `:`. The different file types supported are `subtitle`, `thumbnail`, `description`, `annotation` (deprecated), `infojson`, `link`, `pl_thumbnail`, `pl_description`, `pl_infojson`, `chapter`, `pl_video`. For example, `-o "%(title)s.%(ext)s" -o "thumbnail:%(title)s\%(title)s.%(ext)s"` will put the thumbnails in a folder with the same name as the video. If any of the templates (except default) is empty, that type of file will not be written. Eg: `--write-thumbnail -o "thumbnail:"` will write thumbnails only for playlists and not for video.
+Additionally, you can set different output templates for the various metadata files separately from the general output template by specifying the type of file followed by the template separated by a colon `:`. The different file types supported are `subtitle`, `thumbnail`, `description`, `annotation` (deprecated), `infojson`, `link`, `pl_thumbnail`, `pl_description`, `pl_infojson`, `chapter`, `pl_video`. For example, `-o "%(title)s.%(ext)s" -o "thumbnail:%(title)s\%(title)s.%(ext)s"` will put the thumbnails in a folder with the same name as the video. If any of the templates is empty, that type of file will not be written. Eg: `--write-thumbnail -o "thumbnail:"` will write thumbnails only for playlists and not for video.
The available fields are: