rtlplus fix read root

This commit is contained in:
Nirvana
2026-06-04 13:12:24 +02:00
parent 8298adaad8
commit b6e5b86451
@@ -1460,10 +1460,15 @@ class RTLPlusVodManager:
return None
item_content = item.get("itemContent")
if not item_content:
if not item_content or not isinstance(item_content, dict):
return None
action = item_content.get("action")
# FIX: Check if action is None or not a dict before using .get()
if not action or not isinstance(action, dict):
return None
action = item_content.get("action", {})
target = unwrap_target(action.get("target", {}))
value_layout = target.get("value_layout", {})