mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Allow passing different arguments to different postprocessors
* Also deprecated --sponskrub-args Closes: https://github.com/ytdl-org/youtube-dl/issues/27593 Eg: `--postprocessor-args "VideoConvertor:-c:v h264_nvenc -preset slow"` Eg: `--postprocessor-args "SponsKrub:-include-selfpromo"` For backward compatibility, `--postprocessor-args args` is equivalent to: `--post-processor-args "sponskrub:" --post-processor-args "default:args"`
This commit is contained in:
		| @@ -11,7 +11,6 @@ from ..utils import ( | ||||
|  | ||||
|  | ||||
| class XAttrMetadataPP(PostProcessor): | ||||
|  | ||||
|     # | ||||
|     # More info about extended attributes for media: | ||||
|     #   http://freedesktop.org/wiki/CommonExtendedAttributes/ | ||||
| @@ -27,7 +26,7 @@ class XAttrMetadataPP(PostProcessor): | ||||
|         """ Set extended attributes on downloaded file (if xattr support is found). """ | ||||
|  | ||||
|         # Write the metadata to the file's xattrs | ||||
|         self._downloader.to_screen('[metadata] Writing metadata to file\'s xattrs') | ||||
|         self.to_screen('Writing metadata to file\'s xattrs') | ||||
|  | ||||
|         filename = info['filepath'] | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan