mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Fix client buffering identification in certain scenarios
This commit is contained in:
parent
4302c4bc0d
commit
1a46e09928
1 changed files with 3 additions and 3 deletions
|
@ -275,13 +275,13 @@ class ActivityHandler(object):
|
||||||
elif this_state == 'stopped':
|
elif this_state == 'stopped':
|
||||||
self.on_stop()
|
self.on_stop()
|
||||||
|
|
||||||
elif this_state == 'buffering':
|
|
||||||
self.on_buffer()
|
|
||||||
|
|
||||||
elif this_state == 'paused':
|
elif this_state == 'paused':
|
||||||
# Update the session last_paused timestamp
|
# Update the session last_paused timestamp
|
||||||
self.on_pause(still_paused=True)
|
self.on_pause(still_paused=True)
|
||||||
|
|
||||||
|
if this_state == 'buffering':
|
||||||
|
self.on_buffer()
|
||||||
|
|
||||||
if this_transcode_key != last_transcode_key and this_state != 'buffering':
|
if this_transcode_key != last_transcode_key and this_state != 'buffering':
|
||||||
self.on_change()
|
self.on_change()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue