mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-28 11:12:00 +08:00
fix
This commit is contained in:
@@ -1176,7 +1176,7 @@ class Emby:
|
||||
logger.error(f"连接Users/Items/Resume出错:" + str(e))
|
||||
return []
|
||||
|
||||
def get_latest(self, num: Optional[int] = 20, username: Optional[str] = None) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
def get_latest(self, num: Optional[int] = 22, username: Optional[str] = None) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
"""
|
||||
获得最近更新
|
||||
"""
|
||||
|
||||
@@ -943,7 +943,7 @@ class Jellyfin:
|
||||
logger.error(f"连接Users/Items/Resume出错:" + str(e))
|
||||
return []
|
||||
|
||||
def get_latest(self, num=20, username: Optional[str] = None) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
def get_latest(self, num=22, username: Optional[str] = None) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
"""
|
||||
获得最近更新
|
||||
"""
|
||||
|
||||
@@ -756,7 +756,7 @@ class Plex:
|
||||
))
|
||||
return ret_resume[:num]
|
||||
|
||||
def get_latest(self, num: Optional[int] = 20) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
def get_latest(self, num: Optional[int] = 22) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
"""
|
||||
获取最近添加媒体
|
||||
"""
|
||||
|
||||
@@ -528,7 +528,7 @@ class TrimeMedia:
|
||||
ret_resume.append(self.__build_media_server_play_item(item))
|
||||
return ret_resume
|
||||
|
||||
def get_latest(self, num=20) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
def get_latest(self, num=22) -> Optional[List[schemas.MediaServerPlayItem]]:
|
||||
"""
|
||||
获取最近更新列表
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user