fix
This commit is contained in:
parent
3999c64853
commit
989d6e3fe7
@ -4,7 +4,7 @@ from typing import List, Tuple, Dict, Any
|
|||||||
|
|
||||||
from app.core.config import settings
|
from app.core.config import settings
|
||||||
from app.core.context import MediaInfo
|
from app.core.context import MediaInfo
|
||||||
from app.core.event import eventmanager
|
from app.core.event import eventmanager, Event
|
||||||
from app.log import logger
|
from app.log import logger
|
||||||
from app.plugins import _PluginBase
|
from app.plugins import _PluginBase
|
||||||
from app.schemas import TransferInfo
|
from app.schemas import TransferInfo
|
||||||
@ -183,7 +183,7 @@ class ChineseSubFinder(_PluginBase):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@eventmanager.register(EventType.TransferComplete)
|
@eventmanager.register(EventType.TransferComplete)
|
||||||
def download(self, event):
|
def download(self, event: Event):
|
||||||
"""
|
"""
|
||||||
调用ChineseSubFinder下载字幕
|
调用ChineseSubFinder下载字幕
|
||||||
"""
|
"""
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
from typing import Any, List, Dict, Tuple
|
from typing import Any, List, Dict, Tuple
|
||||||
|
|
||||||
|
from app.core.event import eventmanager, Event
|
||||||
from app.plugins import _PluginBase
|
from app.plugins import _PluginBase
|
||||||
|
from app.schemas.types import EventType
|
||||||
|
|
||||||
|
|
||||||
class PersonMeta(_PluginBase):
|
class PersonMeta(_PluginBase):
|
||||||
@ -80,6 +82,13 @@ class PersonMeta(_PluginBase):
|
|||||||
def get_page(self) -> List[dict]:
|
def get_page(self) -> List[dict]:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@eventmanager.register(EventType.TransferComplete)
|
||||||
|
def scrap_rt(self, event: Event):
|
||||||
|
"""
|
||||||
|
根据事件实时刮削演员信息
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
def stop_service(self):
|
def stop_service(self):
|
||||||
"""
|
"""
|
||||||
退出插件
|
退出插件
|
||||||
|
Loading…
x
Reference in New Issue
Block a user