From b0a1f9a538970aea15060622df4796d9cd86e553 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 21 Nov 2024 15:41:59 +0100 Subject: [PATCH] fix small bug --- MusicPlayerV2-GUI/src/components/playerView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MusicPlayerV2-GUI/src/components/playerView.vue b/MusicPlayerV2-GUI/src/components/playerView.vue index 58dbe79..8db9b49 100644 --- a/MusicPlayerV2-GUI/src/components/playerView.vue +++ b/MusicPlayerV2-GUI/src/components/playerView.vue @@ -337,8 +337,8 @@ url = url.replace( '{w}', String( d.data.results.songs.data[ 0 ].attributes.artwork.width ) ); url = url.replace( '{h}', String( d.data.results.songs.data[ 0 ].attributes.artwork.height ) ); const song: Song = { - artist: data.common.artist ?? d.data.results.songs.data[ 0 ].attributes.artistName, - title: data.common.title ?? d.data.results.songs.data[ 0 ].attributes.name, + artist: d.data.results.songs.data[ 0 ].attributes.artistName, + title: d.data.results.songs.data[ 0 ].attributes.name, duration: data.format.duration ?? ( d.data.results.songs.data[ 0 ].attributes.durationInMillis / 1000 ), id: songDetails.url, origin: 'disk',