diff --git a/src/main/plugins/raop.ts b/src/main/plugins/raop.ts index ce911834..e6908375 100644 --- a/src/main/plugins/raop.ts +++ b/src/main/plugins/raop.ts @@ -148,7 +148,7 @@ export default class RAOP { browser.on('update', (service: any) => { if (service.addresses && service.fullname && (service.fullname.includes('_raop._tcp') || service.fullname.includes('_airplay._tcp'))) { - console.log(service.txt) + // console.log(service.txt) this._win.webContents.executeJavaScript(`console.log( "${service.name} ${service.host}:${service.port} ${service.addresses}" )`); @@ -159,7 +159,7 @@ export default class RAOP { - electron.ipcMain.on("performAirplayPCM", (event, ipv4, ipport, sepassword, title, artist, album, artworkURL) => { + electron.ipcMain.on("performAirplayPCM", (event, ipv4, ipport, sepassword, title, artist, album, artworkURL,txt) => { if (ipv4 != this.ipairplay || ipport != this.portairplay) { if (this.airtunes == null) { this.airtunes = new this.u()} @@ -169,7 +169,9 @@ export default class RAOP { port: ipport, volume: 60, password: sepassword, + txt: txt }); + // console.log('lol',txt) this.device.on('status', (status: any) => { console.log('device status', status); if (status == "ready"){ diff --git a/src/renderer/views/components/castmenu.ejs b/src/renderer/views/components/castmenu.ejs index ad3bd209..7ab727f3 100644 --- a/src/renderer/views/components/castmenu.ejs +++ b/src/renderer/views/components/castmenu.ejs @@ -116,7 +116,7 @@ }, setAirPlayCast(device) { this.activeCasts.push(device); - ipcRenderer.send("performAirplayPCM",device.host,device.port,null,"","","","") + ipcRenderer.send("performAirplayPCM",device.host,device.port,null,"","","","",device.txt) }, stopCasting() { CiderAudio.stopAudio(); diff --git a/src/renderer/views/pages/settings.ejs b/src/renderer/views/pages/settings.ejs index 83d821d5..c6ebcd45 100644 --- a/src/renderer/views/pages/settings.ejs +++ b/src/renderer/views/pages/settings.ejs @@ -973,17 +973,6 @@
-
-
- FFmpeg location
- Restart needed to work. Required for AirPlay. (For example: C:\ffmpeg-4.4-essentials_build\bin\ffmpeg.exe)
- You can look at the internet on how to install it. -
-
- -
-
-
{{$root.getLz('settings.option.visual.plugin.github.explore')}}