mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
Embed video URL metadata inside MP4 (#173)
`mp4` has `comment` and `synopsis`; the synopsis is expected to have the long description So we save the `webpage_url` to `comment` and `description` to `synopsis` Related: https://github.com/ytdl-org/youtube-dl/issues/28478 Co-authored by: Damiano Amatruda <damiano.amatruda@outlook.com>
This commit is contained in:
parent
4d971a16b8
commit
cd9b384cc3
1 changed files with 2 additions and 2 deletions
|
@ -550,8 +550,8 @@ def add(meta_list, info_list=None):
|
||||||
|
|
||||||
add('title', ('track', 'title'))
|
add('title', ('track', 'title'))
|
||||||
add('date', 'upload_date')
|
add('date', 'upload_date')
|
||||||
add(('description', 'comment'), 'description')
|
add(('description', 'synopsis'), 'description')
|
||||||
add('purl', 'webpage_url')
|
add(('purl', 'comment'), 'webpage_url')
|
||||||
add('track', 'track_number')
|
add('track', 'track_number')
|
||||||
add('artist', ('artist', 'creator', 'uploader', 'uploader_id'))
|
add('artist', ('artist', 'creator', 'uploader', 'uploader_id'))
|
||||||
add('genre')
|
add('genre')
|
||||||
|
|
Loading…
Reference in a new issue