Ignore PMS messages related to set/collections

This commit is contained in:
croneter 2018-12-02 13:20:18 +01:00
parent 2b3366923a
commit e9f811f2cd

View file

@ -155,7 +155,7 @@ def store_timeline_message(data):
# movie or episode) # movie or episode)
continue continue
typus = v.PLEX_TYPE_FROM_WEBSOCKET[int(message['type'])] typus = v.PLEX_TYPE_FROM_WEBSOCKET[int(message['type'])]
if typus == v.PLEX_TYPE_CLIP: if typus in (v.PLEX_TYPE_CLIP, v.PLEX_TYPE_SET):
# No need to process extras or trailers # No need to process extras or trailers
continue continue
status = int(message['state']) status = int(message['state'])