Skip to content

Commit

Permalink
LrcLib.net expects durations in seconds, not ms (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
vukanovics authored May 2, 2024
1 parent 78ac5af commit 297d6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/features/core/lyrics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 297d6f0

Please sign in to comment.