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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ setInterval(function () {
currentPlayStatus = currentStatus; currentPlayStatus = currentStatus;
// check progress bar value and make sure current stays up to date after switch // check progress bar value and make sure current stays up to date after switch
if(barvalue != barval) { if(barvalue != barval && !titleOrArtistChanged) {
barvalue = barval; barvalue = barval;
oldcurrent = options.current; oldcurrent = options.current;
options.duration = duration; options.duration = duration;