Repository navigation
refactor(music): move the song matcher out of the lyrics package - #2625
Merged
Merged
Conversation
10 of 14 tasks
A-EDev
force-pushed
the
refactor/song-matching
branch
from
December 5, 2026 15:54
55ba0b0 to
74b3c34
Compare
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
data/lyrics/LyricsMatching.kttodata/music/match/SongMatching.ktso music features can use it. Lyrics search queries and scores are unchanged.YtMusicMatcher.findRecording: a match needs the artist, the same version tags (live, remix, remaster) and a length within 3 s; the album breaks ties. A failed search comes back as a failure. Existing callers offindare unchanged.Related issue
Part of #1553
Change type
Validation
./gradlew :app:assembleGithubDebug: passed./gradlew :app:testGithubDebugUnitTest: passed (8131 tests, run with all the [Feature]: music player appearance nitpicks #2439 and [Feature]: Import playlists directly from Spotify #1553 PRs merged together)./gradlew :app:compileFossDebugKotlinand./gradlew ktlintCheckpassedTest device and Android version: Android emulator, API 37 phone image (1080x2400)
Screenshots or recordings
Risk and compatibility
No preference, database or playback change.