更新 jellyfin.py
This commit is contained in:
parent
70c459f810
commit
9d14fc47fe
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user