diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-23 01:22:19 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-23 01:22:19 +0100 |
commit | b59c17e543206220c1809ab0fe6131280dd02b1f (patch) | |
tree | b1a650ee190d79a3f4aedb735a98bb432f66f07c | |
parent | 61ca9a80b34b14fa0e5e19e35ee76e0086d49edf (diff) | |
parent | bd3cbe0716c3cfc4c6ce7a5a338e881a06b19ef8 (diff) |
Merge pull request #4745 from BitLooter/master
Embed description and URL as MP4 tags
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 4 |
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') |