From f86c2a000efdabf8c53b523dac8ab401e89365a1 Mon Sep 17 00:00:00 2001 From: vapormusic Date: Thu, 7 Apr 2022 21:27:51 +0700 Subject: [PATCH] fix --- src/renderer/views/pages/home.ejs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/renderer/views/pages/home.ejs b/src/renderer/views/pages/home.ejs index b5b47d6e..0b0a8acd 100644 --- a/src/renderer/views/pages/home.ejs +++ b/src/renderer/views/pages/home.ejs @@ -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 },