[core] Load plugins on demand (#11305)

- Adds `--no-plugin-dirs` to disable plugin loading
- `--plugin-dirs` now supports post-processors

Authored by: coletdjnz, Grub4K, pukkandan
This commit is contained in:
coletdjnz 2025-02-23 11:00:46 +13:00 committed by GitHub
parent 3a1583ca75
commit 4445f37a7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 527 additions and 175 deletions

View file

@ -0,0 +1,5 @@
from yt_dlp.postprocessor.common import PostProcessor
class NormalPluginPP(PostProcessor):
REPLACED = True