From cac5db123f87defbd2fdf320bd24f8b45bc066b3 Mon Sep 17 00:00:00 2001 From: Marie <8841466+Mar0xy@users.noreply.github.com> Date: Tue, 20 Apr 2021 23:09:53 +0200 Subject: [PATCH] fix 1-2 second deflay between switching songs at song end --- src/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload.js b/src/preload.js index 49206d6..2e1553c 100644 --- a/src/preload.js +++ b/src/preload.js @@ -276,7 +276,7 @@ setInterval(function () { currentPlayStatus = currentStatus; // check progress bar value and make sure current stays up to date after switch - if(barvalue != barval) { + if(barvalue != barval && !titleOrArtistChanged) { barvalue = barval; oldcurrent = options.current; options.duration = duration;