1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:02:53 +08:00

Embed description and URL as MP4 tags

This commit is contained in:
David Powell 2015-01-18 15:01:05 -08:00
parent 910c552052
commit bd3cbe0716

View File

@ -509,6 +509,10 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
metadata['artist'] = info['uploader']
elif info.get('uploader_id') is not None:
metadata['artist'] = info['uploader_id']
if info.get('description') is not None:
metadata['description'] = info['description']
if info.get('webpage_url') is not None:
metadata['comment'] = info['webpage_url']
if not metadata:
self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add')