Repository navigation
Add catalog search with split song/album results and a music-tuned custom keyboard - #108
Merged
Merged
Conversation
…om keyboard Searches the iTunes catalog (Apple's full commercial music database, no API key) for songs and albums. The search page has an expanding pill query bar, results split into two always-equal halves (songs on top, albums below), and an in-app QWERTY keyboard whose suggestion bar and space-bar autocorrect run against a vocabulary learned from the catalog results and the user's library (CatalogAutocorrect in ContinuityCore, unit-tested on Linux CI). Tapping a song adds it to a shared "From Search" playlist; tapping an album imports its full tracklist as a new playlist. Both reuse the existing search-query -> YouTube ingest pipeline, so results become playable tracks. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP
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.
What
A full-screen search page (magnifying-glass button on the Library page) that searches Apple's iTunes catalog — the most exhaustive freely queryable commercial music database (100M+ songs, no API key, artwork included) — for songs and albums only.
Layout (per spec)
Catalog-tuned autocorrect
CatalogAutocorrect(new in ContinuityCore, pure Swift, unit-tested on the Linux CI) learns its vocabulary from the catalog results as you search plus the user's own library titles/artists, so:Adding results
Both reuse the existing
searchQuery→ YouTube ingest pipeline (same path as Spotify imports), so results become real, playable, stem-separable tracks.Files
ContinuityCore/CatalogAutocorrect.swift+ tests (runs incore-tests-linux)Ingest/MusicCatalog.swift— iTunes Search API client (song/album search + album tracklist lookup)Ingest/PreparationQueue+Catalog.swift— add-song / import-albumApp/Views/SearchView.swift— page, model, keyboardApp/Views/LibrarySheetView.swift— search toolbar button + full-screen coverDevice checks
xcodegen generateafter checkout (new source files).🤖 Generated with Claude Code
https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP
Generated by Claude Code