all plugins have priority
This commit is contained in:
parent
1b4f758de0
commit
d646bda381
1 changed files with 1 additions and 2 deletions
|
|
@ -49,6 +49,7 @@ class BasePlugin(DownloadArchiver, Generic[TOptionsValidator], ABC):
|
||||||
Shared code amongst all SourcePlugins (downloaders) and Plugins (post-download modification)
|
Shared code amongst all SourcePlugins (downloaders) and Plugins (post-download modification)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
priority: PluginPriority = PluginPriority()
|
||||||
plugin_options_type: Type[TOptionsValidator]
|
plugin_options_type: Type[TOptionsValidator]
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
@ -67,8 +68,6 @@ class Plugin(BasePlugin[TOptionsValidator], Generic[TOptionsValidator], ABC):
|
||||||
Class to define the new plugin functionality
|
Class to define the new plugin functionality
|
||||||
"""
|
"""
|
||||||
|
|
||||||
priority: PluginPriority = PluginPriority()
|
|
||||||
|
|
||||||
def ytdl_options(self) -> Optional[Dict]:
|
def ytdl_options(self) -> Optional[Dict]:
|
||||||
"""
|
"""
|
||||||
Returns
|
Returns
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue