aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/postprocessor/xattrpp.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-08 00:58:41 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-08 01:41:08 +0530
commit1b77b347d422ed70fd833a9f0327ea418ba4919c (patch)
tree35232d3f241acdc6ce794d37418e34adbcd37d8d /youtube_dlc/postprocessor/xattrpp.py
parent6c40e33c9e97bd32cece9b12e5e90ed66fa1fcb8 (diff)
downloadhypervideo-pre-1b77b347d422ed70fd833a9f0327ea418ba4919c.tar.lz
hypervideo-pre-1b77b347d422ed70fd833a9f0327ea418ba4919c.tar.xz
hypervideo-pre-1b77b347d422ed70fd833a9f0327ea418ba4919c.zip
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"`
Diffstat (limited to 'youtube_dlc/postprocessor/xattrpp.py')
-rw-r--r--youtube_dlc/postprocessor/xattrpp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dlc/postprocessor/xattrpp.py b/youtube_dlc/postprocessor/xattrpp.py
index 814dabecf..85834db45 100644
--- a/youtube_dlc/postprocessor/xattrpp.py
+++ b/youtube_dlc/postprocessor/xattrpp.py
@@ -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']