some raop fix

This commit is contained in:
vapormusic 2022-08-27 22:37:03 +07:00
parent e2b5d3161c
commit 4c34f22ea1
3 changed files with 12 additions and 2 deletions

View file

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