some fixes
This commit is contained in:
parent
97bb42f14f
commit
686971502f
2 changed files with 11 additions and 1 deletions
|
@ -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));
|
||||
|
|
|
@ -2143,6 +2143,7 @@ const app = new Vue({
|
|||
}, 100);
|
||||
},
|
||||
setPagePos() {
|
||||
try{
|
||||
console.debug({
|
||||
href: window.location.hash,
|
||||
position: $("#app-content").scrollTop(),
|
||||
|
@ -2151,6 +2152,8 @@ const app = new Vue({
|
|||
href: window.location.hash,
|
||||
position: $("#app-content").scrollTop(),
|
||||
});
|
||||
} catch(e){
|
||||
}
|
||||
},
|
||||
routeView(item) {
|
||||
this.setPagePos();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue