Don't try to get a Kodi library items for Plex clips

This commit is contained in:
Croneter 2018-06-14 15:44:53 +02:00
parent 2152c789c7
commit 01d269f995
1 changed files with 1 additions and 1 deletions

View File

@ -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: