From 6d4ad61c7be049169d94382860edd8323fe4ed6c Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 8 Sep 2017 12:36:26 +0200 Subject: [PATCH] Ignore PMS message related to a bunch of items --- resources/lib/librarysync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 48702328..0c8f2e66 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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)