Merge pull request #387 from DanTheMan827/patch-3

fix(metadata): lyrics are now fetched
This commit is contained in:
edidealt 2026-03-22 21:12:37 +02:00 committed by GitHub
commit 8cc1c0dfe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 879 additions and 14 deletions

891
bun.lock

File diff suppressed because it is too large Load diff

View file

@ -10,7 +10,7 @@ export function prefetchMetadataObjects(track, api, coverBlob = null) {
: coverId
? getCoverBlob(api, coverId).catch(console.error)
: Promise.resolve(null);
const lyricsFetch = LyricsManager.initialize.fetchLyrics?.(track.id, track)?.catch(console.error);
const lyricsFetch = LyricsManager.instance.fetchLyrics?.(track.id, track)?.catch(console.error);
return { coverFetch, lyricsFetch };
}