[Clarification] How does Last.fm use MusicBrainz?

  • 1
  • 4
  • Question
  • Updated 12 months ago
  • Answered
Hello, I am aware that Last.fm is using the MusicBrainz database for music metadata. However, I was unable to find any kind of explanation to how MusicBrainz is used with Last.fm or how a user could understand how to make improvements to Last.fm via MusicBrainz. Could anyone clarify how Last.fm uses MusicBrainz? Thanks!
Photo of jwf


  • 11 Posts
  • 7 Reply Likes

Posted 2 years ago

  • 1
  • 4
Photo of Jon

Jon, Community & Customer Services

  • 4904 Posts
  • 3640 Reply Likes
Official Response
Musicbrainz is one of several affiliates we use for catalogue generation, the others are Amazon, iTunes, 7Digital, Spotify, and Discogs.  

About twice once a week we import catalogue data from all of those websites, normalise it, and run it through a series of clustering algorithms to generate what we think are the "correct" catalogue pages and album tracklists on the website.  We then populate those pages with additional information such as running time and date of release.  It's not without issues which we are trying to address.
  • If data is missing, that usually means that the release in question doesn't currently appear in any of those catalogues -- adding it to musicbrainz (and/or discogs), should result in the release being imported the following week.  
  • If the catalogue data is wrong, that usually suggests that the clustering algorithm picked the wrong listing in this case -- you can usually check by searching for the release in the above catalogues to see which one it went for.  There are quite complicated reasons why the system can pick what seems like an obviously wrong result (you'd need to ask Ben, Sachin, or Mark for a more technical explanation), but it's something we're working on improving.  Off the top of my head, an obvious example are k-pop artists that have their track listings in English rather than the original hangul spelling because we're mostly using US catalogues which all list the translated / international spelling. In any case, the best thing to do is use the "Is this correct? Yes or No" box on every page (both the item that's wrong and the page you think is correct if it exists) to flag these errors.
  • Other issues such as capitalisation errors and corrections issues (e.g. merging duplicate artists pages and separating distinct artists, etc), which are considered separate problems from catalogue generation and will be addressed in due course as well.
Since you can contribute to both Musicbrainz and Discogs, I'd say the probably the best way to maximise the chance of your changes going through is to ensure that both MBz and Discogs are consistent and agree with each other.   

The other thing we use Musicbrainz for, as of a few weeks ago, are the artist Fact boxes you see when you open an artist biography, and for getting the artist's official twitter handle when sharing your Last.week.

edit: Corrected outdated info as people are still referencing this post.