mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fix for not going to next song after skip, and changed deletion timeframe to two days
This commit is contained in:
@@ -153,6 +153,17 @@ function onPlayerStateChange(newState) {
|
||||
$("#playpause").toggleClass("pause");
|
||||
}
|
||||
}
|
||||
if(newState.data == 0)
|
||||
{
|
||||
quickFixCountdown = setTimeout(function(){
|
||||
console.log("trying quickfix");
|
||||
if(ytplayer.getPlayerState() == 0 && wasPaused){
|
||||
console.log("quickfixPlay");
|
||||
startNextSong();
|
||||
wasPaused = false;
|
||||
}
|
||||
},5000);
|
||||
}
|
||||
}
|
||||
|
||||
function checkEnd()
|
||||
|
||||
Reference in New Issue
Block a user