mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
add ModuleType Schema
This commit is contained in:
@@ -5,7 +5,6 @@ from app.core.context import MediaInfo
|
||||
from app.log import logger
|
||||
from app.modules import _ModuleBase, _MediaServerBase
|
||||
from app.modules.emby.emby import Emby
|
||||
from app.schemas import MediaServerConf
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
@@ -22,6 +21,10 @@ class EmbyModule(_ModuleBase, _MediaServerBase[Emby]):
|
||||
def get_name() -> str:
|
||||
return "Emby"
|
||||
|
||||
@staticmethod
|
||||
def get_type() -> str:
|
||||
return "mediaserver"
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user