Status checks asked is_spotify_authenticated() (official OAuth only) instead of
is_spotify_metadata_available(), so a Spotify-Free primary read as disconnected.
get_primary_source_status had spotify_free awareness but it was dead code:
get_client_for_source('spotify') returns None unless officially authed, so the
free-availability probe never had a client. Fetch the client directly for that
check; add the missing free branch to the dashboard test message. Seam + regression tests.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| album_mbid_cache.py | ||
| album_tracks.py | ||
| art_apply.py | ||
| art_lookup.py | ||
| art_preservation.py | ||
| art_sources.py | ||
| artist_album_cache.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 | ||
| release_dates.py | ||
| release_type.py | ||
| relevance.py | ||
| service.py | ||
| similar_artists.py | ||
| source.py | ||
| status.py | ||
| track_number_format.py | ||
| types.py | ||