Idle players now changing song when they need to, to keep up with the channel

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-06 15:52:45 +01:00
parent 2fef90d375
commit 1774efd26c
2 changed files with 22 additions and 10 deletions

View File

@@ -183,6 +183,7 @@ var Player = {
if(prev_state == 2 && !chromecastAvailable) {
Player.stopVideo();
was_stopped = true;
Player.cueVideoById(video_id, duration);
if(!durationBegun) {
Player.durationSetter();
}