This commit is contained in:
jxxghp
2024-08-16 13:41:19 +08:00
parent af88618fbd
commit c030f52418
6 changed files with 45 additions and 10 deletions

View File

@@ -15,6 +15,11 @@ from app.utils.http import RequestUtils
class Emby:
_host: str = None
_playhost: str = None
_apikey: str = None
user: Optional[Union[str, int]] = None
def __init__(self, host: str = None, apikey: str = None, play_host: str = None, **kwargs):
if not host or not apikey:
logger.error("Emby服务器配置不完整")