mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
Add sort_type parameter to subscribe endpoints
Co-authored-by: jxxghp <jxxghp@qq.com>
This commit is contained in:
@@ -9,6 +9,13 @@ class MediaType(Enum):
|
||||
UNKNOWN = '未知'
|
||||
|
||||
|
||||
# 排序类型枚举
|
||||
class SortType(Enum):
|
||||
TIME = "time" # 按时间排序
|
||||
COUNT = "count" # 按人数排序
|
||||
RATING = "rating" # 按评分排序
|
||||
|
||||
|
||||
# 种子状态
|
||||
class TorrentStatus(Enum):
|
||||
TRANSFER = "可转移"
|
||||
|
||||
Reference in New Issue
Block a user