Commit Graph

15 Commits (dad04bd4ba8165b112c36963ddcdfea51e8605d0)

Author SHA1 Message Date
coletdjnz cd490eeeab
Improve error message when invalid directory provided 4 weeks ago
coletdjnz 4e4bc2fa33
fix 4 weeks ago
coletdjnz 97088ae3d3
may this help? 4 weeks ago
coletdjnz 51f3740030
Move away from contextvars 4 weeks ago
coletdjnz 97684b0f2c
Add --no-plugins 2 months ago
coletdjnz 109c019e8a
Add public functions to add custom external plugin paths 2 months ago
coletdjnz 21e13bfa84
Decouple plugins.py from plugin types 2 months ago
coletdjnz 9269248935
add test for plugin dirs 2 months ago
coletdjnz a19dd28fdc
revert back to init_subclass, add guard against multiple imports of same plugin 2 months ago
coletdjnz 42771dde1c
Add test for override plugins 2 months ago
coletdjnz 413ae7693b
Make globals internal-only 2 months ago
coletdjnz 3d939b68fe
Merge remote-tracking branch 'upstream/master' into misc/globals-and-plugins-revive
# Conflicts:
#	yt_dlp/YoutubeDL.py
#	yt_dlp/__init__.py
#	yt_dlp/options.py
#	yt_dlp/plugins.py
#	yt_dlp/postprocessor/__init__.py
#	yt_dlp/utils/_utils.py
2 months ago
sepro add96eb9f8
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
7 months ago
Simon Sawicki 00709d5e9a Fix tests and add test for reloading 2 years ago
Matthew 8e40b9d1ec
Improve plugin architecture (#5553)
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
2 years ago