Does this make a difference

This commit is contained in:
Core 2022-05-07 06:54:23 +01:00
parent b6cd18be12
commit b8fef4f8f7
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -2543,28 +2543,21 @@ const app = new Vue({
}
try {
this.radio.personal.title = app.getLz('term.personalStations')
this.radio.recent.title = app.getLz('term.recentStations')
this.radio.amlive.title = app.getLz('term.amLive')
app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
this.radio.personal.data = await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
"filter[identity]": "personal",
}).then(res => {
this.radio.personal.data = res.data.data
})
}).data.data
app.mk.api.v3.music(`/v1/me/recent/radio-stations`, {
this.radio.recent.title = app.getLz('term.recentStations')
this.radio.recent.data = await app.mk.api.v3.music(`/v1/me/recent/radio-stations`, {
"platform": "web",
"art[url]": "f",
l: this.mklang
}).then(res => {
this.radio.recent.data = res.data.data
})
}).data.data
app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
this.radio.amlive.title = app.getLz('term.amLive')
this.radio.amlive.data = await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
"filter[featured]": "apple-music-live-radio",
}).then(res => {
this.radio.amlive.data = res.data.data
})
}).data.data
this.radio.timestamp = Date.now()
console.debug(this.radio)