Add sort_type parameter to subscribe endpoints

Co-authored-by: jxxghp <jxxghp@qq.com>
This commit is contained in:
Cursor Agent
2025-09-16 03:29:28 +00:00
parent 86c7c05cb1
commit 0733c8edcc
3 changed files with 26 additions and 7 deletions

View File

@@ -9,6 +9,13 @@ class MediaType(Enum):
UNKNOWN = '未知'
# 排序类型枚举
class SortType(Enum):
TIME = "time" # 按时间排序
COUNT = "count" # 按人数排序
RATING = "rating" # 按评分排序
# 种子状态
class TorrentStatus(Enum):
TRANSFER = "可转移"