This repository contains a stash plugin package for yt-dlp.
See yt-dlp plugins for more details.
Requires yt-dlp 2023.01.02
or above as well as stashapp-tools.
You can install this package with pip:
python3 -m pip install -U https://github.com/schmoaaaaah/yt-dlp-stash/archive/master.zip
See installing yt-dlp plugins for the other methods this plugin package can be installed.
To use this plugin, you must have a stash server running and add following to your yt-dlp command:
--use-postprocessor Stash:stashurl="http:stash:9999"\;when=after_video
You might need to change after_video
to playlist
if you are downloading a playlist.
I haven't tested this yet.
The Processor expects the same path for the media in stash as it is downloaded.
See the Plugin Development section of the yt-dlp wiki.