fix storage api

This commit is contained in:
jxxghp
2024-08-16 11:59:45 +08:00
parent 8485d4ec30
commit af88618fbd
6 changed files with 42 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ from app.utils.http import RequestUtils
class Emby:
def __init__(self, host: str, apikey: str, play_host: str = None, **kwargs):
def __init__(self, host: str = None, apikey: str = None, play_host: str = None, **kwargs):
if not host or not apikey:
logger.error("Emby服务器配置不完整")
return