projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d200b11
)
[ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 2 Feb 2015 23:16:45 +0000
(
00:16
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 2 Feb 2015 23:16:45 +0000
(
00:16
+0100)
youtube_dl/postprocessor/ffmpeg.py
patch
|
blob
|
history
diff --git
a/youtube_dl/postprocessor/ffmpeg.py
b/youtube_dl/postprocessor/ffmpeg.py
index 855d1e6dbf3628d5f0cca7bd37c094e4ee10710d..4a4422c5a6132cd9a3dfe3116fe554ac2a374ca5 100644
(file)
--- 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')