thanks apple

This commit is contained in:
booploops 2022-03-16 19:30:50 -07:00
parent 4412978375
commit edc36fbe6c

View file

@ -120,6 +120,7 @@
this.getListenNowData()
await this.getArtistFeed()
await this.getFavorites()
await this.getRecentlyPlayed()
if (new Date().getMonth() == 11) {
this.seenReplay = false
localStorage.setItem('seenReplay', false)
@ -199,8 +200,11 @@
})
} catch (error) { }
},
getRecentlyPlayed() {
async getRecentlyPlayed() {
let hist = await app.mk.api.v3.music(`/v1/me/recent/played`, {
l: this.$root.mklang
})
this.recentlyPlayed = hist.data.data
},
async getListenNowData() {
let self = this
@ -216,7 +220,6 @@
self.sectionsReady.push("madeForYou")
try {
self.recentlyPlayed = data.data.data[1].relationships.contents.data
self.friendsListeningTo = data.data.data.filter(section => {
if (section.meta.metrics.moduleType == "11") {
return section