feat: auto-fetch synced lyrics via syncedlyrics#3
Merged
Conversation
Add automatic .lrc lyrics fetching for audio files during processing: - New lyrics.py module extracts artist/title from embedded metadata (mutagen) or filename, then queries syncedlyrics providers (Musixmatch, LRCLIB, NetEase) - Integrated into process_source_file() before sync_sidecars() - New fetch_lyrics config option (default: true) to enable/disable - 9 new tests with 88% coverage on lyrics module Dependencies added: mutagen>=1.47.0, syncedlyrics>=1.0.0 Version bump to 0.3.0.
GeiserX
added a commit
that referenced
this pull request
Mar 10, 2026
Add automatic .lrc lyrics fetching for audio files during processing: - New lyrics.py module extracts artist/title from embedded metadata (mutagen) or filename, then queries syncedlyrics providers (Musixmatch, LRCLIB, NetEase) - Integrated into process_source_file() before sync_sidecars() - New fetch_lyrics config option (default: true) to enable/disable - 9 new tests with 88% coverage on lyrics module Dependencies added: mutagen>=1.47.0, syncedlyrics>=1.0.0 Version bump to 0.3.0.
GeiserX
added a commit
that referenced
this pull request
Mar 10, 2026
Add automatic .lrc lyrics fetching for audio files during processing: - New lyrics.py module extracts artist/title from embedded metadata (mutagen) or filename, then queries syncedlyrics providers (Musixmatch, LRCLIB, NetEase) - Integrated into process_source_file() before sync_sidecars() - New fetch_lyrics config option (default: true) to enable/disable - 9 new tests with 88% coverage on lyrics module Dependencies added: mutagen>=1.47.0, syncedlyrics>=1.0.0 Version bump to 0.3.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lyrics.pymodule: extracts artist/title from embedded metadata (mutagen) or filename pattern, then fetches synced .lrc lyrics via syncedlyrics (Musixmatch, LRCLIB, NetEase providers)process_source_file()— lyrics are fetched after encoding, before sidecar sync so they get copied to all output directoriesfetch_lyricsconfig option (default:true) to enable/disablemutagen>=1.47.0,syncedlyrics>=1.0.0Based on batch testing: syncedlyrics achieves ~80% hit rate (305/381 files), bringing lyrics coverage from 75.9% to 95.3%.
Test plan
fetch_lyrics: falsedisables the feature