mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated so that errors on video now skips on chromecast also
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
6
static/dist/main.min.js
vendored
6
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -340,6 +340,9 @@ function chromecastListener(evt, data){
|
|||||||
case -1:
|
case -1:
|
||||||
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
||||||
break;
|
break;
|
||||||
|
case 0:
|
||||||
|
socket.emit("skip", {error: json_parsed.data_code, id: json_parsed.videoId, pass: adminpass, channel: chan.toLowerCase});
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user