some fixes

This commit is contained in:
vapormusic 2022-10-07 08:40:04 +07:00
parent 97bb42f14f
commit 686971502f
2 changed files with 11 additions and 1 deletions

View file

@ -271,7 +271,7 @@ export default class RAOP {
console.log(this.devices[idx].controller.key, title ?? "", artist ?? "", album ?? "");
this.airtunes.setTrackInfo(this.devices[idx].controller.key, title ?? "", artist ?? "", album ?? "");
this.uploadImageAirplay(artworkURL);
console.log("done");
console.log("done", status);
this.ok == 2;
}
}, 1000);
@ -384,6 +384,12 @@ export default class RAOP {
console.log("endAll");
this.airtunes = null;
this.devices = [];
this.airtunes = null;
this.ipairplay = "";
this.portairplay = "";
this.ok = 1;
this.i = false;
});
} else {
this.devices = [];
@ -411,6 +417,7 @@ export default class RAOP {
this.portairplay = "";
this.ok = 1;
this.i = false;
this.devices = [];
}
})
.catch((err: any) => console.error("lsdsd", err));