mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix actions
This commit is contained in:
@@ -33,6 +33,10 @@ class AddSubscribeAction(BaseAction):
|
||||
def description(self) -> str:
|
||||
return "根据媒体列表添加订阅"
|
||||
|
||||
@property
|
||||
def data(self) -> dict:
|
||||
return AddSubscribeParams().dict()
|
||||
|
||||
@property
|
||||
def success(self) -> bool:
|
||||
return True if self._added_subscribes else False
|
||||
|
||||
Reference in New Issue
Block a user