cleanup and rename provider to plugin
This commit is contained in:
@@ -13,8 +13,8 @@ from urllib.parse import urlparse
|
||||
|
||||
from API.HTTP import HTTPClient, _download_direct_file
|
||||
from plugins.alldebrid.api import AllDebridClient, parse_magnet_or_hash, is_torrent_file
|
||||
from ProviderCore.base import Provider, SearchResult
|
||||
from SYS.provider_helpers import TableProviderMixin
|
||||
from PluginCore.base import Provider, SearchResult
|
||||
from SYS.plugin_helpers import TablePluginMixin
|
||||
from SYS.item_accessors import get_field as _extract_value
|
||||
from SYS.utils import sanitize_filename
|
||||
from SYS.logger import log, debug, debug_panel
|
||||
@@ -637,7 +637,7 @@ def adjust_output_dir_for_alldebrid(
|
||||
return output_dir
|
||||
|
||||
|
||||
class AllDebrid(TableProviderMixin, Provider):
|
||||
class AllDebrid(TablePluginMixin, Provider):
|
||||
"""AllDebrid account provider with magnet folder/file browsing and downloads.
|
||||
|
||||
This provider uses the new table system (strict ResultTable adapter pattern) for
|
||||
|
||||
Reference in New Issue
Block a user