From d309b81daafae0e654ccc7adfd4cb9383a7069f0 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Wed, 4 Oct 2023 18:16:34 -0700 Subject: [PATCH] fix unsynced lyrics --- 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]);