cleanup and rename provider to plugin
This commit is contained in:
@@ -13,8 +13,8 @@ from pathlib import Path
|
||||
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from ProviderCore.base import Provider, SearchResult, parse_inline_query_arguments
|
||||
from SYS.provider_helpers import TableProviderMixin
|
||||
from PluginCore.base import Provider, SearchResult, parse_inline_query_arguments
|
||||
from SYS.plugin_helpers import TablePluginMixin
|
||||
from SYS.logger import debug, log
|
||||
from SYS.models import DownloadError, DownloadMediaResult, DownloadOptions
|
||||
from SYS.payload_builders import build_file_result_payload, build_table_result_payload
|
||||
@@ -501,7 +501,7 @@ def _build_pipe_objects(
|
||||
return pipe_objects
|
||||
|
||||
|
||||
class ytdlp(TableProviderMixin, Provider):
|
||||
class ytdlp(TablePluginMixin, Provider):
|
||||
"""yt-dlp-backed search and direct download plugin."""
|
||||
|
||||
PLUGIN_NAME = "ytdlp"
|
||||
|
||||
Reference in New Issue
Block a user