mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Fix double recently added episode notifications
This commit is contained in:
parent
3b457304e9
commit
872ef2771e
1 changed files with 2 additions and 1 deletions
|
@ -256,9 +256,10 @@ class TimelineHandler(object):
|
|||
this_state = self.timeline['state']
|
||||
this_type = self.timeline['type']
|
||||
this_metadataState = self.timeline.get('metadataState', None)
|
||||
this_mediaState = self.timeline.get('mediaState', None)
|
||||
|
||||
# state: 5: done processing metadata
|
||||
# type: 1: movie, 2: tv show, 4: episode, 8: artist, 10: track
|
||||
types = [1, 2, 4, 8, 10]
|
||||
if this_state == 5 and this_type in types and not this_metadataState:
|
||||
if this_state == 5 and this_type in types and this_metadataState == None and this_mediaState == None:
|
||||
self.on_created()
|
Loading…
Add table
Add a link
Reference in a new issue