metadata: per-track listeners, and an artist profile the search hero can ask for
CatalogTrack gains artist_id — Deezer sends it on every search row and it was simply unparsed — and rank, its 0-1,000,000 popularity figure. Together they let a listener count be resolved for the PERFORMING artist of each row rather than for the query's top artist, so a "panda bear" search shows Daft Punk's "Doin' it Right (feat. Panda Bear)" at its real 464,046. Resolution rides the existing deezer_linked_mbid -> lastfm_listener_ranks chain behind a new catalog_track_listeners command, deliberately kept separate from catalog_search: that one is typed against per keystroke and must never wait on MusicBrainz's 1 req/s gate. catalog_artist_profile backs the hero's middle third — MusicBrainz tags off the cached artist document plus one Last.fm artist.getinfo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f8f56f4398
commit
dc918c98ef
3 files changed
+285
No files matched your search
@@ -59,6 +59,7 @@ pub fn run() {
|
||||
commands::play_local,
|
||||
commands::preload_local,
|
||||
commands::player_control,
|
||||
commands::player_state,
|
||||
commands::waveform,
|
||||
commands::library_albums,
|
||||
commands::album_tracks,
|
||||
@@ -100,6 +101,8 @@ pub fn run() {
|
||||
commands::pick_artist_hero,
|
||||
commands::clear_artist_hero,
|
||||
commands::catalog_related,
|
||||
commands::catalog_track_listeners,
|
||||
commands::catalog_artist_profile,
|
||||
commands::catalog_album,
|
||||
commands::catalog_album_info,
|
||||
commands::catalog_art,
|
||||
|
||||
Reference in new issue
Block a user