refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions

View File

@@ -1,10 +1,10 @@
from typing import Optional, Tuple, Union, Any, List, Generator, Dict
from app import schemas
from app.core.context import MediaInfo
from app.core.event import eventmanager
from app.helper.mediaserver import MusicMediaServerHelper
from app.log import logger
from app.domain.context import MediaInfo
from app.platform.events import eventmanager
from app.services.mediaserver import MusicMediaServerHelper
from app.platform.log import logger
from app.modules import _ModuleBase, _MediaServerBase
from app.modules.plex.plex import Plex
from app.schemas import AuthCredentials, AuthInterceptCredentials

View File

@@ -9,13 +9,13 @@ from plexapi.server import PlexServer
from requests import Response, Session
from app import schemas
from app.core.cache import cached
from app.helper.mediaserver import MediaServerIdentityHelper
from app.log import logger
from app.platform.cache import cached
from app.services.mediaserver import MediaServerIdentityHelper
from app.platform.log import logger
from app.schemas import MediaType
from app.schemas.types import MediaSource
from app.utils.http import RequestUtils
from app.utils.url import UrlUtils
from app.foundation.http import RequestUtils
from app.foundation.url import UrlUtils
from app.schemas import MediaServerItem