slightly reduced color banding on background
This commit is contained in:
parent
d1c4a4abea
commit
6282913b90
2 changed files with 14 additions and 8 deletions
|
@ -770,14 +770,19 @@ const app = new Vue({
|
||||||
playMediaItemById(id, kind, isLibrary, raurl = "") {
|
playMediaItemById(id, kind, isLibrary, raurl = "") {
|
||||||
var truekind = (!kind.endsWith("s")) ? (kind + "s") : kind;
|
var truekind = (!kind.endsWith("s")) ? (kind + "s") : kind;
|
||||||
console.log(id, truekind, isLibrary)
|
console.log(id, truekind, isLibrary)
|
||||||
if (truekind == "radioStations") {
|
try {
|
||||||
this.mk.setStationQueue({url: raurl}).then(function (queue) {
|
if (truekind == "radioStations") {
|
||||||
MusicKit.getInstance().play()
|
this.mk.setStationQueue({url: raurl}).then(function (queue) {
|
||||||
});
|
MusicKit.getInstance().play()
|
||||||
} else {
|
});
|
||||||
this.mk.setQueue({[truekind]: [id]}).then(function (queue) {
|
} else {
|
||||||
MusicKit.getInstance().play()
|
this.mk.setQueue({[truekind]: [id]}).then(function (queue) {
|
||||||
})
|
MusicKit.getInstance().play()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}catch(err){
|
||||||
|
console.log(err)
|
||||||
|
this.playMediaItemById(id, kind, isLibrary, raurl)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
friendlyTypes(type) {
|
friendlyTypes(type) {
|
||||||
|
|
|
@ -120,6 +120,7 @@ body[loading] {
|
||||||
opacity: 0.70;
|
opacity: 0.70;
|
||||||
transition: opacity .25s var(--appleEase);
|
transition: opacity .25s var(--appleEase);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transform: translateZ(0px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue