feat(media): support iqiyi discover source

This commit is contained in:
jxxghp
2026-08-13 15:34:58 +08:00
parent 626e6cb472
commit eebd81a0e4
4 changed files with 29 additions and 1 deletions
+2
View File
@@ -59,6 +59,7 @@ _MEDIA_SOURCE_VALUE_ALIASES = {
"mango_tv": "mangguodiscover",
"migu_video": "migu",
"tencent_video": "tencentvideodiscover",
"iqiyi": "iqiyidiscover",
}
@@ -78,6 +79,7 @@ class MediaSource(str, Enum):
MangoTV = "mangguodiscover"
MiguVideo = "migu"
TencentVideo = "tencentvideodiscover"
Iqiyi = "iqiyidiscover"
def __str__(self) -> str:
"""返回可直接用于 API 和数据库的规范值。"""