From be4210bd262abf1a3ff5453079b11b356b362f64 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 24 Aug 2023 16:49:32 -0600 Subject: [PATCH] utility.presence: fix start being longer than end timestamps failing to repeat --- src/modules/utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utility.js b/src/modules/utility.js index c4287c8..f4091ff 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -964,7 +964,7 @@ presence.callback = async function (msg, line) { const timePos = formatTime(position); const progress = - activity.timestamps.start == activity.timestamps.end + activity.timestamps.start >= activity.timestamps.end ? 1 : position / length; const barLength = Math.round(progress * NOWPLAYING_BAR_LENGTH);