chore: Prettified Code
[ci skip]
This commit is contained in:
parent
8c9070c8da
commit
3b947a8361
2 changed files with 5 additions and 4 deletions
|
@ -319,9 +319,10 @@ export default class ChromecastPlugin {
|
||||||
});
|
});
|
||||||
|
|
||||||
electron.ipcMain.on("getChromeCastDevices", (_event, _data) => {
|
electron.ipcMain.on("getChromeCastDevices", (_event, _data) => {
|
||||||
if(this.scanCount++ == 2) {
|
if (this.scanCount++ == 2) {
|
||||||
this.scanCount = 0
|
this.scanCount = 0;
|
||||||
this.castDevices = [];}
|
this.castDevices = [];
|
||||||
|
}
|
||||||
this.searchForGCDevices();
|
this.searchForGCDevices();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -217,7 +217,7 @@ export default class RAOP {
|
||||||
txt: txt,
|
txt: txt,
|
||||||
airplay2: airplay2dv,
|
airplay2: airplay2dv,
|
||||||
debug: null,
|
debug: null,
|
||||||
forceAlac: false
|
forceAlac: false,
|
||||||
});
|
});
|
||||||
// console.log('lol',txt)
|
// console.log('lol',txt)
|
||||||
this.device.on("status", (status: any) => {
|
this.device.on("status", (status: any) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue