Fixing disconnection; production buildout
This commit is contained in:
@ -114611,8 +114611,8 @@ var SnapStream = /*#__PURE__*/function () {
|
||||
}
|
||||
};
|
||||
|
||||
this.streamsocket.onopen = function (ev) {
|
||||
console.log("Snapcast web streaming connected");
|
||||
this.streamsocket.onopen = function (e) {
|
||||
console.log('SnapStream socket opened', e);
|
||||
var hello = new HelloMessage();
|
||||
hello.mac = "00:00:00:00:00:00";
|
||||
hello.arch = "web";
|
||||
@ -114629,13 +114629,14 @@ var SnapStream = /*#__PURE__*/function () {
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
this.streamsocket.onerror = function (ev) {
|
||||
alert("error: " + ev.type);
|
||||
}; //this.onError(ev);
|
||||
this.streamsocket.onerror = function (e) {
|
||||
console.error('SnapStream socket error', e);
|
||||
};
|
||||
|
||||
this.streamsocket.onclose = function (e) {
|
||||
console.log('SnapStream socket closed', e);
|
||||
|
||||
this.streamsocket.onclose = function (ev) {
|
||||
stop();
|
||||
_this9.stop();
|
||||
}; // this.ageBuffer = new Array<number>();
|
||||
|
||||
|
||||
@ -114650,7 +114651,7 @@ var SnapStream = /*#__PURE__*/function () {
|
||||
msg.id = ++this.msgId;
|
||||
|
||||
if (this.streamsocket.readyState != this.streamsocket.OPEN) {
|
||||
stop();
|
||||
this.stop();
|
||||
} else {
|
||||
this.streamsocket.send(msg.serialize());
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
16
mopidy_iris/static/app.min.js
vendored
16
mopidy_iris/static/app.min.js
vendored
File diff suppressed because one or more lines are too long
@ -106,7 +106,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1601627320";
|
||||
var build = "1601632041";
|
||||
var version = "3.52.4";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
Reference in New Issue
Block a user