Fixing list not updating on change in private mode

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-26 15:51:01 +01:00
parent cff94a3a60
commit 0f86a3197e
3 changed files with 5 additions and 5 deletions

View File

@@ -13,12 +13,12 @@ var List = {
switch(msg.type)
{
case "list":
if(full_playlist == undefined || !offline){
//if(full_playlist == undefined || !offline){
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);