mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Update activity_pinger for recently added
This commit is contained in:
parent
4c388f60d6
commit
b9f47df930
7 changed files with 111 additions and 26 deletions
|
@ -256,11 +256,9 @@ class TimelineHandler(object):
|
|||
this_state = self.timeline['state']
|
||||
this_type = self.timeline['type']
|
||||
this_metadataState = self.timeline.get('metadataState', None)
|
||||
this_section_id = self.timeline['sectionID']
|
||||
this_rating_key = self.timeline['itemID']
|
||||
|
||||
# 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:
|
||||
self.on_created()
|
||||
self.on_created()
|
Loading…
Add table
Add a link
Reference in a new issue