mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Update the stream duration on activity cards
* Fixes #2206 Some clients like Plexamp use the same sessionKey when the track changes.
This commit is contained in:
parent
ddc8a08fc7
commit
325271a88e
1 changed files with 1 additions and 0 deletions
|
@ -584,6 +584,7 @@
|
|||
|
||||
// Update the stream progress times
|
||||
$('#stream-eta-' + key).html(moment().add(parseInt(s.duration) - parseInt(s.view_offset), 'milliseconds').format(time_format));
|
||||
$('#stream-duration-' + key).html(millisecondsToMinutes(parseInt(s.stream_duration), false));
|
||||
var stream_view_offset = $('#stream-view-offset-' + key);
|
||||
stream_view_offset.data('state', s.state);
|
||||
if (stream_view_offset.data('last_view_offset') !== s.view_offset) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue