fix
This commit is contained in:
parent
f5539dc1dc
commit
f86c2a000e
1 changed files with 8 additions and 2 deletions
|
@ -130,7 +130,10 @@
|
|||
methods: {
|
||||
async seeAllRecentlyPlayed() {
|
||||
let hist = await app.mk.api.v3.music(`/v1/me/recent/played`, {
|
||||
l: this.$root.mklang
|
||||
l: this.$root.mklang,
|
||||
include: 'tracks',
|
||||
'include[albums]': 'catalog,tracks,artists',
|
||||
'include[songs]': 'catalog,artists',
|
||||
})
|
||||
app.showCollection(hist.data, app.getLz('home.recentlyPlayed'))
|
||||
},
|
||||
|
@ -209,7 +212,10 @@
|
|||
},
|
||||
async getRecentlyPlayed() {
|
||||
let hist = await app.mk.api.v3.music(`/v1/me/recent/played`, {
|
||||
l: this.$root.mklang
|
||||
l: this.$root.mklang,
|
||||
include: 'tracks',
|
||||
'include[albums]': 'catalog,tracks,artists',
|
||||
'include[songs]': 'catalog,artists',
|
||||
})
|
||||
this.recentlyPlayed = hist.data.data
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue