aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/utils/_utils.py
diff options
context:
space:
mode:
authorImran Hussain <ih@imranh.co.uk>2024-10-20 18:10:26 +0100
committerGitHub <noreply@github.com>2024-10-20 17:10:26 +0000
commit0f593dca9fa995d88eb763170a932da61c8f24dc (patch)
tree601f201d5981bb0b12b6a01e782be97849cc177e /yt_dlp/utils/_utils.py
parent8de431ec97a4b62b73df8f686b6e21e462775336 (diff)
Add option `--plugin-dirs` (#11277)
Closes #3260 Authored by: imranh2, coletdjnz Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
Diffstat (limited to 'yt_dlp/utils/_utils.py')
-rw-r--r--yt_dlp/utils/_utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py
index 27ebfefbc..ea748898f 100644
--- a/yt_dlp/utils/_utils.py
+++ b/yt_dlp/utils/_utils.py
@@ -4897,6 +4897,10 @@ class Config:
filename = None
__initialized = False
+ # Internal only, do not use! Hack to enable --plugin-dirs
+ # TODO(coletdjnz): remove when plugin globals system is implemented
+ _plugin_dirs = None
+
def __init__(self, parser, label=None):
self.parser, self.label = parser, label
self._loaded_paths, self.configs = set(), []