Ignore PMS message related to an entire library
This commit is contained in:
parent
274ed4b430
commit
1f0baf5128
1 changed files with 3 additions and 0 deletions
|
@ -1269,6 +1269,9 @@ class LibrarySync(Thread):
|
|||
if item['event'] != 'ended':
|
||||
# Scan still going on, so skip for now
|
||||
continue
|
||||
elif item['Activity'].get('Context') is None:
|
||||
# Not related to any Plex element, but entire library
|
||||
continue
|
||||
elif item['Activity']['type'] != 'library.refresh.items':
|
||||
# Not the type of message relevant for us
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue