mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Forgot to added type
This commit is contained in:
@@ -315,7 +315,7 @@ function hide_native(way){
|
||||
function chromecastListener(evt, data){
|
||||
console.log(data);
|
||||
var json_parsed = JSON.parse(data);
|
||||
switch(json_parsed){
|
||||
switch(json_parsed.type){
|
||||
case -1:
|
||||
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user