SAMBL - Spotify Artist MusicBrainz Lookup

Currently, searching from either a Spotify artist link / ID or name is possible

Features:

  • Pulling an artist from the Spotify API and Cross referencing them with artists that have a Spotify link associated with them
  • Pulling songs from the Spotify API and Cross-referring them with releases from the given artist
  • Displaying the song’s status of existence on the MB database:
    • Red: This Spotify album has no link or name matches present
    • Orange: This Spotify album has a MB release with a matching name
    • Green: This Spotify album has a MB release with the same associated Spotify link
  • Importing albums via A-Tisket or Harmony
  • Importing new artists into MB
  • Searching the Spotify API for artists

    Search Results Page
16 Likes

Nice tool! I had been working on-and-off on something similar but I haven’t had a lot of time recently.

One bug report: Your tool generates URLs that include a URL parameter named mbid, which unfortunately ends up stripped from the URL by the tracking protection in some browsers (notably Firefox). As a consequence, every input results in an “Invalid URL” error page. This should be easily fixed by renaming the parameter to something like artist_mbid.

1 Like

I haven’t run into this issue myself even when using Firefox’s “strict” tracker blocking, but I have implemented this fix.

The artist page will still accept the legacy parameter “mbid” but the search page will no longer generate urls with it.

1 Like

Update: SAMBL now supports searching for Spotify artists!

2 Likes

Update: it turns out you can fetch releases by artist mbid more than 15 at a time… I dont know why I thought this was was the case…

Regardless, the artist page will now load mb albums significantly faster, 50 at a time instead of 15, which also reduces necessary api calls by a significant margin.

Thank you for this!
Is it possible to configure when submitting the Atisket/Harmony link to set a default country code?

For example &region=US

1 Like

In have definitely been meaning to implement an actual settings menu for stuff like this, so ill definitely be looking into adding this as an option. Probably more customizable stuff in terms of what buttons appear.

1 Like

SAMBL now has indicators for missing UPCs! Similar indicators for other issues coming soon!

4 Likes

Update: SAMBL now supports artists with multiple attached Spotify links!
In order to use this functionality, you need the new SAMBL userscript!

2 Likes
  • Added filter option for only showing releases missing UPC’s
  • The filter list is now draggable

4 Likes

The Artist seach page has been updated a bit!

  • Added a cool animation and backdrop to the artist cards
  • The elements now all appear instantly, instead of waiting on MB’s response before each card appears
  • To replace this, a loading animation has been added to the buttons: image

Fancy animation

2 Likes

Not sure if that could comfortably be made to fit in, but on occasion I’d love to be able to get the “View artist” listing without linking that artist to musicbrainz first.

Oftentimes there are some duplicate artists on spotify, e.g. from compilations, that don’t warrant a spotify link from the musicbrainz artist. Frequently also as some “Artist A & Artist B” credit.

Currently I have to go through the clunky spotify UI, then navigate to an album and copy that link back out to harmony. That SAMBL “view artist” page is so much nicer to work with.

Not a very good example: SAMBL • Artist Search, and look for those “Roberto Torres & Chocolate” artists below (they don’t have any actual releases to import in this case).

1 Like

I was thinking the same thing the other day, lol

I’ll add a ‘view artist anyway’ button to the add page which will just redirect you to the artist page missing the mbid

2 Likes

Couple SAMBL Updates:

One:
As requested, a button has been added to view the artist anyway (aptly named of course)

Two:
I have switched server providers to a more premium one, so it stops going down when you look at it wrong. Hence, the existence of ko-fi widget that only appears on the home screen.

2 Likes

SAMBL Updates:

  • Spotify being Spotify has screwed with something and now genres are returned less often:
  • Added artist popularity meters (what Spotify returns as the “popularity” value of an artist):
  • Added a hint to the filter list to let users know that it can in fact be dragged:
  • Small mobile display improvements (if you’re insane enough to do MB data entry on your phone, I know I am though)

Coming soon:

  • A “deep search” functionality to the “Add artist” page:
    • Will use things like Spotify album links and UPC s to attempt to find an artist on the MB database if the artist doesn’t have a Spotify link attached.
    • Will probably give up after x minutes to not stress the APIs more than necessary
    • Will add a button to add the Spotify link to the artist with an edit note showing the path it took to find the artist
3 Likes

Most of my editing I do on my free time when I’m not by my computer!

3 Likes

SAMBL updates of the (not so consistent) week!

  • Added mini SAMBL icons to each artist under each album:
    • Opens that artist in SAMBL in a new tab. It will initially load the new artist page but will redirect to the actual artist page if found.
  • Fetching is less dumb (on the artist page, others coming later)
    • Search page will recover faster when hitting a rate limit due to black magic
    • Artist page will now fetch albums from MB significantly faster, and will no longer just get stuck when hitting a rate limit
      • Will display an error message after 5 retries
  • Minor code refactoring
  • https://sambl.lioncat6.com now redirects to SAMBL in case you don’t want to type the whole URL in every time.
3 Likes

SAMBL “It’s Been Basically A Week” Update:

  • Added more icons to indicate issues/discrepancies with MB data!
    • Date
    • Track Count
    • (I want to add more but can’t think of any, so tell me if you do, lol)
2 Likes

I have two suggestions for issues:

  • Releases missing artwork
  • Releases that have tracks that have no isrc

Don’t know if those are doable.

2 Likes

These should both be pretty easy to implement, especially considering I’ve already got some of the code for isrcs in place. Thanks for the suggestions!

2 Likes