soulsync/core/metadata
BoulderBadgeDad 7eaed1d533 Profiles: per-profile Spotify builds for own-app creds OR a token cache
Review/regression fix: the shared-app gate I added wrongly required a token
cache even for profiles that set their OWN app creds (legacy), breaking the
per-profile caching tests. Now a per-profile client is built when the profile
has its own app creds OR has connected (its own token cache) — otherwise it
falls back to the global/admin client. Made the fallback-safety tests
order-independent (monkeypatch get_spotify_client to a sentinel) since the real
global client isn't a stable singleton across the suite.

10 metadata-cache + resolution tests pass together.
2026-06-10 12:28:03 -07:00
..
__init__.py
album_mbid_cache.py
album_tracks.py
art_apply.py
art_lookup.py
art_preservation.py
art_sources.py
artist_image.py
artist_resolution.py
artwork.py
cache.py
canonical_resolver.py
canonical_version.py
common.py
completion.py
discography.py
discography_filters.py
enrichment.py
lookup.py
lyrics.py
multi_source_search.py
registry.py Profiles: per-profile Spotify builds for own-app creds OR a token cache 2026-06-10 12:28:03 -07:00
release_dates.py
release_type.py
relevance.py
service.py
similar_artists.py
source.py
status.py
track_number_format.py
types.py