mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix: 修复站点用户数据转换并完善媒体来源扩展
This commit is contained in:
@@ -199,6 +199,15 @@ class _PluginBase(metaclass=ABCMeta):
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_media_source(self) -> List[Dict[str, Any]]:
|
||||
"""
|
||||
注册插件提供的媒体数据源。
|
||||
|
||||
返回的每项至少包含 ``name``、``media_source`` 和 ``media_types``;实际的
|
||||
搜索、识别、图片和 NFO 刮削实现通过 ``get_module`` 暴露对应方法。
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_actions(self) -> List[Dict[str, Any]]:
|
||||
"""
|
||||
获取插件工作流动作
|
||||
|
||||
Reference in New Issue
Block a user