Skip to content

Commit 6d32765

Browse files
committed
feat: increase the lyrics block we extract for better lyric matching
1 parent 6c71204 commit 6d32765

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/lib/processSong.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function processSong(
8888
spotifyTrack.title,
8989
spotifyTrack.artist,
9090
);
91-
const lyrics = getLyricsResult?.split('\n').slice(0, 25).join('\n') ?? ''
91+
const lyrics = getLyricsResult?.split('\n').slice(0, 60).join('\n') ?? ''
9292

9393
// save song first
9494
const song = await addSong(spotifyTrack, lyrics);

0 commit comments

Comments
 (0)