youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 2cf0ecac7b11e68a94990ce7c0e4a661cc2d8c74
parent d200b11c7ea34138d9b8a778fd2dd9226308b48f
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue,  3 Feb 2015 00:16:45 +0100

[ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)

Diffstat:
Myoutube_dl/postprocessor/ffmpeg.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py @@ -511,8 +511,9 @@ class FFmpegMetadataPP(FFmpegPostProcessor): 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')