mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 11:37:23 +08:00
修复极影视媒体库同步不全:展开 BoxSet 合集子项 (#5954)
This commit is contained in:
@@ -848,7 +848,14 @@ class ZSpace:
|
||||
result = res.json() or {}
|
||||
items = result.get("Items") or []
|
||||
for item in items:
|
||||
if not item or item.get("Type") not in ["Movie", "Series"]:
|
||||
if not item:
|
||||
continue
|
||||
if item.get("Type") == "BoxSet" and item.get("Id"):
|
||||
for sub_item in self.get_items(parent=item.get("Id")):
|
||||
if sub_item:
|
||||
yield sub_item
|
||||
continue
|
||||
if item.get("Type") not in ["Movie", "Series"]:
|
||||
continue
|
||||
provider_ids = item.get("ProviderIds") or {}
|
||||
needs_detail = (
|
||||
|
||||
Reference in New Issue
Block a user