更新 jellyfin.py

This commit is contained in:
jxxghp 2024-02-15 21:47:52 +08:00 committed by GitHub
parent 70c459f810
commit 9d14fc47fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,10 +8,9 @@ from app.core.config import settings
from app.log import logger from app.log import logger
from app.schemas import MediaType from app.schemas import MediaType
from app.utils.http import RequestUtils from app.utils.http import RequestUtils
from app.utils.singleton import Singleton
class Jellyfin(metaclass=Singleton): class Jellyfin:
def __init__(self): def __init__(self):
self._host = settings.JELLYFIN_HOST self._host = settings.JELLYFIN_HOST