mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix actions
This commit is contained in:
@@ -89,6 +89,10 @@ class FetchMediasAction(BaseAction):
|
||||
def description(self) -> str:
|
||||
return "获取媒体数据"
|
||||
|
||||
@property
|
||||
def data(self) -> dict:
|
||||
return FetchMediasParams().dict()
|
||||
|
||||
@property
|
||||
def success(self) -> bool:
|
||||
return True if self.__medias else False
|
||||
|
||||
Reference in New Issue
Block a user