Export compilation_track_artist to library.db#62
Merged
jakebromberg merged 2 commits intomainfrom Apr 9, 2026
Merged
Conversation
added 2 commits
April 8, 2026 18:42
Adds fetch_compilation_track_artists() to the CatalogSource protocol and both implementations (TubafrenzySource queries COMPILATION_TRACK_ARTIST, BackendServiceSource returns empty). The export script creates the table in SQLite when track artist data is available, with indexes on library_release_id and artist_name. This enables library-metadata-lookup to surface compilation releases when searching by track artist name.
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
fetch_compilation_track_artists()toCatalogSourceprotocol and both implementationsexport_to_sqlite.pyto createcompilation_track_artisttable with indexes when data is availableCloses #61
Test plan
TubafrenzySource.fetch_compilation_track_artists()returns list of dicts_do_export()creates table and indexes when track artists provided_do_export()backward-compatible without track artistsva_catalog_inserts.sqlis applied, re-runsync-library.shto verify end-to-end