mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-10-29 03:18:14 +08:00
fix(wallpaper): 修正绿联媒体类型判断
This commit is contained in:
@@ -1085,7 +1085,8 @@ class Ugreen:
|
||||
continue
|
||||
|
||||
video_info = item.get("video_info") if isinstance(item.get("video_info"), dict) else {}
|
||||
if video_info.get("type") not in (1, 2):
|
||||
video_type = video_info.get("type") if isinstance(video_info, dict) else None
|
||||
if video_type != 1 and video_type != 2:
|
||||
continue
|
||||
library_id = str(video_info.get("media_lib_set_id") or "")
|
||||
if self.__is_library_blocked(library_id):
|
||||
|
||||
Reference in New Issue
Block a user