fix 1-2 second deflay between switching songs at song end

This commit is contained in:
Marie
2021-04-20 23:09:53 +02:00
committed by GitHub
parent 59f8b2d0b5
commit cac5db123f

View File

@@ -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;