diff --git a/resources/lib/mapper/artecollection.py b/resources/lib/mapper/artecollection.py index 092ceab8..346180f2 100644 --- a/resources/lib/mapper/artecollection.py +++ b/resources/lib/mapper/artecollection.py @@ -30,7 +30,11 @@ def _build_menu(self, json_dict, collection_type, **nav_arg): # Abstract class should NOT be instantiated # pylint: disable=assignment-from-none meta = self._get_page_meta(json_dict) - items = [ArteTvVideoItem(self.plugin, item).map_artetv_item() for item in pages] + items = [] + for page_item in pages: + menu_item = ArteTvVideoItem(self.plugin, page_item).map_artetv_item() + if menu_item is not None: + items.append(menu_item) if meta and meta.get('pages', False): total_pages = meta.get('pages') current_page = meta.get('page')