Ignore PMS message related to a bunch of items

This commit is contained in:
croneter 2017-09-08 12:36:26 +02:00
parent 060bc6f1d1
commit 6d4ad61c7b

View file

@ -1289,7 +1289,8 @@ class LibrarySync(Thread):
continue
plex_id = GetPlexKeyNumber(item['Activity']['Context']['key'])[1]
if plex_id == '':
raise KeyError('Could not extract the Plex id')
# Likely a Plex id like /library/metadata/3/children
continue
# We're only looking at existing elements - have we synced yet?
with plexdb.Get_Plex_DB() as plex_db:
kodi_info = plex_db.getItem_byId(plex_id)