diff --git a/lib/streaming_providers/providers/rtlplus/vod_manager.py b/lib/streaming_providers/providers/rtlplus/vod_manager.py index ac2cad7..c316db7 100644 --- a/lib/streaming_providers/providers/rtlplus/vod_manager.py +++ b/lib/streaming_providers/providers/rtlplus/vod_manager.py @@ -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", {})