mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Private mode not picking up shuffling from others
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
6
public/dist/main.min.js
vendored
6
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -14,11 +14,13 @@ var List = {
|
|||||||
{
|
{
|
||||||
case "list":
|
case "list":
|
||||||
//if(full_playlist == undefined || !offline){
|
//if(full_playlist == undefined || !offline){
|
||||||
|
console.log(msg.shuffled);
|
||||||
|
if(!offline || (offline && !msg.shuffled)){
|
||||||
List.populate_list(msg.playlist);
|
List.populate_list(msg.playlist);
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
Player.sendNext({title: full_playlist[0].title, videoId: full_playlist[0].id});
|
Player.sendNext({title: full_playlist[0].title, videoId: full_playlist[0].id});
|
||||||
}
|
}
|
||||||
//}
|
}
|
||||||
break;
|
break;
|
||||||
case "added":
|
case "added":
|
||||||
List.added_song(msg.value);
|
List.added_song(msg.value);
|
||||||
|
|||||||
Reference in New Issue
Block a user