mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-14 03:52:11 +00:00
Private mode not picking up shuffling from others
This commit is contained in:
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+3
-3
File diff suppressed because one or more lines are too long
+3
-1
@@ -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