all plugins have priority

This commit is contained in:
Jesse Bannon 2023-07-25 11:25:38 -07:00
parent 1b4f758de0
commit d646bda381

View file

@ -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