From 297d6f0d2e48646ec57236af2a5e7ac495b54942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vukanovi=C4=87=20Stefan?= <95771803+vukanovics@users.noreply.github.com> Date: Thu, 2 May 2024 16:14:10 +0200 Subject: [PATCH] LrcLib.net expects durations in seconds, not ms (#603) --- src/main/features/core/lyrics/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/features/core/lyrics/index.ts b/src/main/features/core/lyrics/index.ts index c26cb853..c3fc781e 100644 --- a/src/main/features/core/lyrics/index.ts +++ b/src/main/features/core/lyrics/index.ts @@ -72,7 +72,7 @@ const getRemoteLyrics = async (song: QueueSong) => { const params = { album: song.album || song.name, artist: song.artistName, - duration: song.duration, + duration: song.duration / 1000.0, name: song.name, }; const response = await FETCHERS[source](params);