Harmony: Music Metadata Aggregator and MusicBrainz Importer

It seems that Apple lookup doesn’t work today.

1 Like

Not working for me either, but a-tisket is working.

Seeding a release from Spotify returns an error. All providers are ticked.

Error:

  1. No provider returned a release
  2. Invalid base62 id: https://api.spotify.com/v1/albums/0QrE2wrVszis1L2sucVacXundefined

Test URL:
Release Lookup – Harmony

However seeding from an Apple Music URL works just fine and also fetches the spotify release info.

It’s the URL that is wrong. Not sure where this came from, but remove the “undefined” from the end of the URL, so just https://open.spotify.com/album/0QrE2wrVszis1L2sucVacX

5 Likes

Thanks, that’s from using SAMBL imports, I’ll try to reproduce it again and report it in the other thread.
Harmony works perfectly for me now. :wheel_of_dharma:

Minor issues:

  1. Harmony splits labels at / but some labels legitimately use a slash in their name:
    https://harmony.pulsewidth.org.uk/release?spotify=5aTqwu9vKdBOHVwFjsgOn0&gtin=198662127774&deezer=&itunes=&tidal=&region=GB&ts=1729791767
    I suppose it would be safer to split at " / " (space slash space)
    (Wondering how many of these in MB are valid)
    On the other hand, there are label strings that should be “split” but the result is suboptimal and better handled by a human:
    https://harmony.pulsewidth.org.uk/release?spotify=0mUgWnV3xOF9uBfPLmsPsR&gtin=732138155580&deezer=&itunes=&tidal=&region=US&ts=1735311029
  2. Redoing a lookup with a supplied ID fails. For example, if Hamorny detects incompatible tracklists or barcodes.
    https://harmony.pulsewidth.org.uk/release?spotify=4Xbo3AY9xw4yTi1OpFXQDI&category=preferred
    https://harmony.pulsewidth.org.uk/release?spotify=7hkeSqdmCTztsl7nsvYf4d&category=preferred
  3. The release actions page doesn’t show the cover art thumbnails if it’s rate-limited by MB even when provider IDs are included.
  4. The new recording links seeding can unintentionally remove ISRCs. (When opening all links in advance)
  5. Existing external links for recordings don’t seem to be detected. Release actions continues offering to add them.
Harmony cookies
'musicbrainz=0; deezer=1; tidal=1; beatport=1; region=US; spotify=1; itunes=1'

Another small request:

a-tisket added by in the release title and artist with a ::before pseudo-element. Harmony doesn’t, meaning if you were to select both to do a web search it would include the by
no pseudo-element

with pseudo-element

I’ve solved this for myself by creating a uBlock Origin filter and a userstyle:

harmony.pulsewidth.org.uk##+js(rpnt, #text, /^by $/)
@-moz-document domain("harmony.pulsewidth.org.uk") {
.release-artist::before {
    content: "by "
}
}
2 Likes

I think that ToadKing’s script for Apple Music barcode lookups needs to somehow be incorporated into Harmony. It’s proven to have been accurate and I still have to lookup every release using it before trusting either Harmony or a-tisket. There is no need to use .jpg filenames at all. At least Harmony does do the check that a-tisket doesn’t do. Also, I still am not sure why Harmony doesn’t give us an annotation like a-tisket for which countries it’s available in. Until it does, a-tisket will still be my first go to. The only time I use Harmony currently is to add Apple Music releases that have videos or to check the other services that a-tisket doesn’t support.

1 Like

I just saw this new feature and want to say it is much appreciated. Hopefully, this will result in enough data to allow ListenBrainz to start using the origin_url to match listens more precisely.

Would it be possible to submit all the links in a single form, with an interface more like MagicISRC or ISRChunt?

9 Likes

Now this is cool! I didn’t know it could do this either.

I think that feature is just a few hours old.

1 Like

This will be a game changer!

2 Likes

it’s not currently possible on the MusicBrainz side at least (see MBS-13619)

glad to see this new feature tho~

edit: tried it out, and I’ve got two comments… first, is it possible to get the Bandcamp relationship types from Bandcamp, so the relationships can be properly filled out automatically? also, while adding recording URLs to an existing artist, I realized how useful Bandcamp URL matching would be for lookups (in addition to UPC matching)

another edit: went ahead and created a ticket for the Bandcamp relationship types with more details and example track pages seed Bandcamp relationship types for recording URLs · Issue #95 · kellnerd/harmony · GitHub

2 Likes

Nope. There’s no MB API for that. However a “Open all” button would be good enough IMO

1 Like

I agree that this userscript is super accurate and nice to have, but the problem with incorporating it into Harmony is that (IIRC) it relies on a hardcoded API token. That could be revoked at any time, especially if, e.g., Apple saw a huge spike in requests using it from Harmony users. A proper Harmony integration with Apple Music’s API would probably require maintaining its own paid API key.

Made myself with AI yesterday a button for that, works for me on Firefox with ViolentMonkey

3 Likes

Get “Linkclump Pro”, if you don’t have it. At least you can open all the links in different tabs all at once.

2 Likes

I am excited about the idea of attaching recording URLs with Harmony. I would love to be able to easily reach this page for existing releases too (maybe I just don’t know how). I replaced the spotify, gtin, & mbid values in the URL and the page loaded fine :slight_smile:

2 Likes

@RustyNova made a script, a direct link to harmony page from MB.

3 Likes

:exploding_head: Wonderful! Thank you!

you can also lookup by MusicBrainz URLs, if you’d prefer (tho the userscript is prolly easier)

1 Like