From 5c8624a73ced917b87067874e176253fdfba4640 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Fri, 29 Nov 2024 18:15:27 +0530 Subject: [PATCH] fix: synced lyrics not working --- src/routes/_api/player/audio.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/_api/player/audio.tsx b/src/routes/_api/player/audio.tsx index f151c3e..6086e21 100644 --- a/src/routes/_api/player/audio.tsx +++ b/src/routes/_api/player/audio.tsx @@ -308,7 +308,9 @@ function AudioPlayerRoute() { {showLyrics && (
= 0, + )} >
{lyrics.data?.Lyrics?.map((lyric, index) => ( @@ -325,7 +327,7 @@ function AudioPlayerRoute() {
))}
- {!lyrics.data?.Metadata?.IsSynced && ( + {!((lyrics.data?.Lyrics?.[0].Start ?? -1) >= 0) && (