mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2024-11-22 21:42:46 +01:00
fix 1-2 second deflay between switching songs at song end
This commit is contained in:
parent
59f8b2d0b5
commit
cac5db123f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user