From 01d269f995783c41a6e3134ccfc4fb1958b0cca0 Mon Sep 17 00:00:00 2001 From: Croneter Date: Thu, 14 Jun 2018 15:44:53 +0200 Subject: [PATCH] Don't try to get a Kodi library items for Plex clips --- resources/lib/playlist_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playlist_func.py b/resources/lib/playlist_func.py index 4b5ab82f..0eec821f 100644 --- a/resources/lib/playlist_func.py +++ b/resources/lib/playlist_func.py @@ -396,7 +396,7 @@ def playlist_item_from_xml(xml_video_element, kodi_id=None, kodi_type=None): if kodi_id is not None: item.kodi_id = kodi_id item.kodi_type = kodi_type - elif item.plex_id is not None: + elif item.plex_id is not None and item.plex_type != v.PLEX_TYPE_CLIP: with plexdb.Get_Plex_DB() as plex_db: db_element = plex_db.getItem_byId(item.plex_id) try: