mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixing list not updating on change in private mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user