aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor
diff options
context:
space:
mode:
authorDavid Powell <bitlooter@users.noreply.github.com>2015-01-18 15:01:05 -0800
committerDavid Powell <bitlooter@users.noreply.github.com>2015-01-18 15:01:05 -0800
commitbd3cbe0716c3cfc4c6ce7a5a338e881a06b19ef8 (patch)
tree1c5f71d6fd5246536f10fd99ac2e5f947fc4e572 /youtube_dl/postprocessor
parent910c55205293097e79b2a134b69b572984e37846 (diff)
Embed description and URL as MP4 tags
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index 5b0ff32b1..faccdc43d 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -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')