|
libMusicForge
|
Cross-provider lookup with explicit, non-authoritative name matching. More...
Classes | |
| class | RecordingSearchIf |
| Contract for recording candidate searches. More... | |
| class | TrackStatisticsIf |
| Contract for track statistics lookup. More... | |
| class | EnrichedTrack |
| Independent recording candidates and statistics with partial failure information. More... | |
Functions | |
| EnrichedTrack | identify_and_enrich (RecordingSearchIf metadata, TrackStatisticsIf statistics, str artist, str title) |
| Retrieve MusicBrainz candidates and independent Last.fm track metrics. | |
Cross-provider lookup with explicit, non-authoritative name matching.
MusicBrainz identifies candidate recordings; Last.fm statistics are looked up by artist/title, not by MusicBrainz recording ID. No identity equivalence is claimed or inferred.
| EnrichedTrack musicforge.identification.identify_and_enrich | ( | RecordingSearchIf | metadata, |
| TrackStatisticsIf | statistics, | ||
| str | artist, | ||
| str | title ) |
Retrieve MusicBrainz candidates and independent Last.fm track metrics.
| metadata | Recording search provider. |
| statistics | Track statistics provider. |
| artist | Artist name. |
| title | Track title. |
Results deliberately retain all recording candidates. Last.fm totals are associated with the artist/title query, never with an individual MusicBrainz recording or release.