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 = "") {
|
||||
var truekind = (!kind.endsWith("s")) ? (kind + "s") : kind;
|
||||
console.log(id, truekind, isLibrary)
|
||||
if (truekind == "radioStations") {
|
||||
this.mk.setStationQueue({url: raurl}).then(function (queue) {
|
||||
MusicKit.getInstance().play()
|
||||
});
|
||||
} else {
|
||||
this.mk.setQueue({[truekind]: [id]}).then(function (queue) {
|
||||
MusicKit.getInstance().play()
|
||||
})
|
||||
try {
|
||||
if (truekind == "radioStations") {
|
||||
this.mk.setStationQueue({url: raurl}).then(function (queue) {
|
||||
MusicKit.getInstance().play()
|
||||
});
|
||||
} else {
|
||||
this.mk.setQueue({[truekind]: [id]}).then(function (queue) {
|
||||
MusicKit.getInstance().play()
|
||||
})
|
||||
}
|
||||
}catch(err){
|
||||
console.log(err)
|
||||
this.playMediaItemById(id, kind, isLibrary, raurl)
|
||||
}
|
||||
},
|
||||
friendlyTypes(type) {
|
||||
|
|
|
@ -120,6 +120,7 @@ body[loading] {
|
|||
opacity: 0.70;
|
||||
transition: opacity .25s var(--appleEase);
|
||||
pointer-events: none;
|
||||
transform: translateZ(0px);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue