mirror of https://github.com/calzoneman/sync.git
Fix weird case of playlist skipping when removing leader
This commit is contained in:
parent
e53a0eee4c
commit
539d728df4
|
@ -458,6 +458,7 @@ Playlist.prototype.lead = function(lead) {
|
||||||
this._leadInterval = false;
|
this._leadInterval = false;
|
||||||
}
|
}
|
||||||
else if(this.leading && !this._leadInterval) {
|
else if(this.leading && !this._leadInterval) {
|
||||||
|
this._lastUpdate = Date.now();
|
||||||
this._leadInterval = setInterval(function() {
|
this._leadInterval = setInterval(function() {
|
||||||
pl._leadLoop();
|
pl._leadLoop();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
Loading…
Reference in New Issue