mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor backend module architecture
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
from typing import Any, Optional, Tuple, Union
|
||||
|
||||
from app.core.cache import cached
|
||||
from app.core.config import settings
|
||||
from app.core.context import (
|
||||
from app.platform.cache import cached
|
||||
from app.platform.config import settings
|
||||
from app.domain.context import (
|
||||
MusicAlbumInfo,
|
||||
MusicArtistInfo,
|
||||
MusicInfo,
|
||||
)
|
||||
from app.core.meta import MetaBase, MetaMusic
|
||||
from app.log import logger
|
||||
from app.domain.meta.metabase import MetaBase
|
||||
from app.domain.meta.metamusic import MetaMusic
|
||||
from app.platform.log import logger
|
||||
from app.modules import _ModuleBase
|
||||
from app.schemas.types import (
|
||||
MUSIC_ENTITY_ALBUM,
|
||||
@@ -19,8 +20,8 @@ from app.schemas.types import (
|
||||
MediaType,
|
||||
ModuleType,
|
||||
)
|
||||
from app.utils.http import AsyncRequestUtils, RequestUtils
|
||||
from app.utils.media import is_media_source_selected
|
||||
from app.foundation.http import AsyncRequestUtils, RequestUtils
|
||||
from app.domain.media import is_media_source_selected
|
||||
|
||||
|
||||
class TheAudioDbModule(_ModuleBase):
|
||||
|
||||
Reference in New Issue
Block a user