ensure vid_type enum in __extract_vid_type

This commit is contained in:
Simon 2025-07-17 20:26:30 +07:00
parent 16ec1f694f
commit 64ac647ade
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ class PendingList(PendingIndex):
and video_data["vid_type"]
and str(video_data["vid_type"]) in VideoTypeEnum.values_known()
):
return str(video_data["vid_type"])
return VideoTypeEnum(video_data["vid_type"]).value
if video_data.get("live_status") == "was_live":
return VideoTypeEnum.STREAMS.value