Don't try to get a Kodi library items for Plex clips
This commit is contained in:
parent
2152c789c7
commit
01d269f995
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue