Merge pull request #389 from zoff-music/fix/soundcloud-switching

Fixed issue where switching from one channel sometimes didnt switch the song
This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-20 14:28:45 +02:00
committed by GitHub

View File

@@ -478,7 +478,11 @@ var Player = {
castSession.sendMessage("urn:x-cast:zoff.me", {type: "stopVideo"});
} else {
try{
if(videoSource == "soundcloud") {
Player.soundcloud_player.pause();
} else {
Player.player.stopVideo();
}
} catch(e){}
}
},