mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 12:45:47 -07:00
parent
68dc095c83
commit
3e784c7495
1 changed files with 4 additions and 4 deletions
|
@ -314,6 +314,10 @@ class ActivityHandler(object):
|
|||
if self.metadata:
|
||||
this_guid = self.metadata['guid']
|
||||
|
||||
# Check for stream offset notifications
|
||||
self.check_markers()
|
||||
self.check_watched()
|
||||
|
||||
# Make sure the same item is being played
|
||||
if (self.rating_key == last_rating_key
|
||||
or self.rating_key == last_rating_key_websocket
|
||||
|
@ -354,10 +358,6 @@ class ActivityHandler(object):
|
|||
self.on_stop(force_stop=True)
|
||||
self.on_start()
|
||||
|
||||
# Check for stream offset notifications
|
||||
self.check_markers()
|
||||
self.check_watched()
|
||||
|
||||
def check_markers(self):
|
||||
# Monitor if the stream has reached the intro or credit marker offsets
|
||||
self.get_metadata()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue