This commit is contained in:
vapormusic 2022-08-27 22:45:41 +07:00
parent a21f7e173c
commit 6c118a9b9c

View file

@ -4343,13 +4343,13 @@ const app = new Vue({
notyf.success("Device paring failed!"); notyf.success("Device paring failed!");
}, },
airplayDisconnect(dropped, array = []) { airplayDisconnect(dropped, array = []) {
if (dropped) { // if (dropped) {
let [ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv] = array; // let [ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv] = array;
ipcRenderer.send("performAirplayPCM", ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv); // ipcRenderer.send("performAirplayPCM", ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv);
} else { // } else {
app.activeCasts = []; // app.activeCasts = [];
notyf.error("Devices disconnected!"); // notyf.error("Devices disconnected!");
} // }
}, },
windowFocus(val) { windowFocus(val) {
if (val) { if (val) {