add 事件广播
This commit is contained in:
@ -3,7 +3,7 @@ from typing import Optional, Any, List
|
||||
from app.core.config import settings
|
||||
from app.core.meta import MetaBase
|
||||
from app.core.metainfo import MetaInfo
|
||||
from app.utils.types import MediaType
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
class TorrentInfo:
|
||||
|
@ -2,7 +2,7 @@ from queue import Queue, Empty
|
||||
|
||||
from app.log import logger
|
||||
from app.utils.singleton import Singleton
|
||||
from app.utils.types import EventType
|
||||
from app.schemas.types import EventType
|
||||
|
||||
|
||||
class EventManager(metaclass=Singleton):
|
||||
|
@ -4,7 +4,7 @@ import anitopy
|
||||
from app.core.meta.metabase import MetaBase
|
||||
from app.core.meta.release_groups import ReleaseGroupsMatcher
|
||||
from app.utils.string import StringUtils
|
||||
from app.utils.types import MediaType
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
class MetaAnime(MetaBase):
|
||||
|
@ -4,7 +4,7 @@ import cn2an
|
||||
import regex as re
|
||||
|
||||
from app.utils.string import StringUtils
|
||||
from app.utils.types import MediaType
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
class MetaBase(object):
|
||||
|
@ -6,7 +6,7 @@ from app.core.meta.metabase import MetaBase
|
||||
from app.core.meta.release_groups import ReleaseGroupsMatcher
|
||||
from app.utils.string import StringUtils
|
||||
from app.utils.tokens import Tokens
|
||||
from app.utils.types import MediaType
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
class MetaVideo(MetaBase):
|
||||
|
Reference in New Issue
Block a user