mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)
This commit is contained in:
parent
d200b11c7e
commit
2cf0ecac7b
1 changed files with 2 additions and 1 deletions
|
@ -511,8 +511,9 @@ def run(self, info):
|
|||
metadata['artist'] = info['uploader_id']
|
||||
if info.get('description') is not None:
|
||||
metadata['description'] = info['description']
|
||||
metadata['comment'] = info['description']
|
||||
if info.get('webpage_url') is not None:
|
||||
metadata['comment'] = info['webpage_url']
|
||||
metadata['purl'] = info['webpage_url']
|
||||
|
||||
if not metadata:
|
||||
self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add')
|
||||
|
|
Loading…
Reference in a new issue