From 118a9f73d1de43a791d56ce78705b9c94b953781 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Thu, 5 Oct 2023 05:02:42 +0000 Subject: [PATCH] fix unsynced lyrics (#279) --- src/renderer/api/jellyfin/jellyfin-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/jellyfin/jellyfin-controller.ts b/src/renderer/api/jellyfin/jellyfin-controller.ts index 2ddfb67f8..95ec68258 100644 --- a/src/renderer/api/jellyfin/jellyfin-controller.ts +++ b/src/renderer/api/jellyfin/jellyfin-controller.ts @@ -934,7 +934,7 @@ const getLyrics = async (args: LyricsArgs): Promise => { } if (res.body.Lyrics.length > 0 && res.body.Lyrics[0].Start === undefined) { - return res.body.Lyrics[0].Text; + return res.body.Lyrics.map((lyric) => lyric.Text).join('\n'); } return res.body.Lyrics.map((lyric) => [lyric.Start! / 1e4, lyric.Text]);