From 325271a88eb884f58a646416b6a1a2841371ef8a Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 3 Dec 2023 13:33:37 -0800 Subject: [PATCH] Update the stream duration on activity cards * Fixes #2206 Some clients like Plexamp use the same sessionKey when the track changes. --- data/interfaces/default/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index 57236e69..4a74b2e4 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -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) {