Private mode not picking up shuffling from others

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-26 16:53:15 +01:00
parent 0f86a3197e
commit a06ecd9d17
3 changed files with 8 additions and 6 deletions

View File

@@ -14,11 +14,13 @@ var List = {
{
case "list":
//if(full_playlist == undefined || !offline){
console.log(msg.shuffled);
if(!offline || (offline && !msg.shuffled)){
List.populate_list(msg.playlist);
if(chromecastAvailable){
Player.sendNext({title: full_playlist[0].title, videoId: full_playlist[0].id});
}
//}
}
break;
case "added":
List.added_song(msg.value);