1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-04 12:55:25 -04:00

[EmbedMetadata] Allow overwriting all default metadata

with `meta_default` key
This commit is contained in:
pukkandan
2021-10-18 09:19:25 +05:30
parent 24b0a72b30
commit b11d210156
2 changed files with 11 additions and 12 deletions

View File

@@ -1433,7 +1433,7 @@ Note that any field created by this can be used in the [output template](#output
This option also has a few special uses:
* You can download an additional URL based on the metadata of the currently downloaded video. To do this, set the field `additional_urls` to the URL that you want to download. Eg: `--parse-metadata "description:(?P<additional_urls>https?://www\.vimeo\.com/\d+)` will download the first vimeo video found in the description
* You can use this to change the metadata that is embedded in the media file. To do this, set the value of the corresponding field with a `meta_` prefix. For example, any value you set to `meta_description` field will be added to the `description` field in the file. For example, you can use this to set a different "description" and "synopsis"
* You can use this to change the metadata that is embedded in the media file. To do this, set the value of the corresponding field with a `meta_` prefix. For example, any value you set to `meta_description` field will be added to the `description` field in the file. For example, you can use this to set a different "description" and "synopsis". Any value set to the `meta_` field will overwrite all default values.
For reference, these are the fields yt-dlp adds by default to the file metadata: