put a post processor in: /config/yt-dlp/plugins/example_name/yt_dlp_plugins/postprocessor/examplePP.py
start a download with --use-postprocessor example as an arg
examplePP.py
from yt_dlp.postprocessor.common import PostProcessor
class ExamplePP(PostProcessor):
def run(self, information):
self.to_screen("Doing stuff in Custom processor")
return [], information
Describe the bug When trying to run a yt-dlp PostProcessor using
--use-postprocessor
the command fails with a KeyError:setting
YTP_DEBUG: "true"
seems to make it work.To Reproduce
/config/yt-dlp/plugins/example_name/yt_dlp_plugins/postprocessor/examplePP.py
--use-postprocessor example
as an argexamplePP.py
Expected behavior PostProcessor gets run.