mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)
This commit is contained in:
		| @@ -511,8 +511,9 @@ class FFmpegMetadataPP(FFmpegPostProcessor): | |||||||
|             metadata['artist'] = info['uploader_id'] |             metadata['artist'] = info['uploader_id'] | ||||||
|         if info.get('description') is not None: |         if info.get('description') is not None: | ||||||
|             metadata['description'] = info['description'] |             metadata['description'] = info['description'] | ||||||
|  |             metadata['comment'] = info['description'] | ||||||
|         if info.get('webpage_url') is not None: |         if info.get('webpage_url') is not None: | ||||||
|             metadata['comment'] = info['webpage_url'] |             metadata['purl'] = info['webpage_url'] | ||||||
|  |  | ||||||
|         if not metadata: |         if not metadata: | ||||||
|             self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add') |             self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user