ROpdebee's userscripts support thread

Oww found it. Thank you all

The enhanced cover art uploader has stopped working for me.

@version 2023.12.22
Using Firefox 121.0 (64-bit)
Tampermonkey 5.0.0.

When I visit an add cover art for a release with a site that cover art could be imported from, the import fromā€¦ interface is missing, and in the console I see the following error:

Uncaught SyntaxError: expected expression, got ā€˜<ā€™
Gt https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:9
p https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:74
u https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:76
send https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:76
to https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:17
send https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:76
https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:79
v https://musicbrainz.org/release/dcc0380f-5602-405b-b198-ce0e2d098180/add-cover-art:74

I canā€™t seem to reproduce this issue, at least not on Firefox 123.0a1 and Tampermonkey 5.0.0 and a fresh installation.

Did the script still work in the past week? If so, then on first glance, it appears the source code became somehow malformed, perhaps because of a Tampermonkey issue. Have you tried reinstalling the script to see if that fixes the error?

1 Like

When I try with same release, it works for Import from Spotify, but Import from Deezer produces a Network Error.

Violentmonkey 2.17.0
Kiwi Browser 120.0.6099.116
Android 9; Redmi 7 Build/PKQ1.181021.001

Thanks! That fixed it.

2 Likes

The other day when I tried to submit cover art from Qobuz with ECAU, the script encountered an HTTP 403 error.
What Iā€™m curious to know is if this is a widespread problem with Qobuz, or just isolated to one release, artist, label, etc.
Hereā€™s the release in question in case anyone else wants to take a stab at it.

This Qobuz example works for me:

Successfully added 1 image(s)

1 Like

Interesting. Iā€™m on Firefox 121.0 running the same version of Violentmonkey.

Update: I tried importing an image from an unrelated Qobuz release and got a 403 there too. Perhaps my IP address has been blacklisted by them? I donā€™t think Iā€™ve ever used ECAU to import from Qobuz except for one or two occasions.

1 Like

https://musicbrainz.org/edit/107539829

1 Like

@HibiscusKazeneko would you mind sharing which country you are in? Qobuz is known to act strangely when accessing releases in countries where it is not available.

ECAU uses the Qobuz API to check whether there are ā€œgoodiesā€, like digital booklets, available for download. My best guess is that this request is causing the 403 error. If the API request fails, ECAU uses a fallback solution that does not rely on the API. However, this is only triggered on 404 errors, not on 403. I can change it to also use the fallback option on 403 errors, but ideally Iā€™d like to know more about why it is returning a 403 in the first place, so we might be able to find a better solution.

3 Likes

Iā€™m in the US. So is tigerman325 (AFAIK), but he had success where I didnā€™t. There must be something else going on.
Iā€™m also on a Mac running macOS 14.2.1 (Sonoma), FWIW.

1 Like

Yeah, I think we both live in Texas even. I had zero issues, worked normally, but I use Windows 11 with MS Edge.

2 Likes

Iā€™ve added the fallback solution for 403 errors in ECAU 2024.1.6.

6 Likes

I have the same issue on kiwi, on desktop Firefox it works fine.

Anyone else having trouble importing cover art from TIDAL? Every time I try, I get a ā€œTidal release does not existā€ error.

It gives me that for releases that arenā€™t available in the US. TIDAL has API geolocks, like Spotify does now. I use yambs. There you can enter the country code of the release if itā€™s outside of the US, and itā€™ll give you the artwork after you enter for edits. I copy the URL and use that. Itā€™s the only workaround Iā€™ve found for this.

1 Like

Interesting. Xythiumā€™s TIDAL importer thingy showed this release as available but I canā€™t find any valid territories through yambs.

Now that is weird. Havenā€™t had that happen yet.

Yeah, thatā€™s weird; I donā€™t see it as available for any of the countries/territories listed at https://support.tidal.com/hc/en-us/articles/202453191-TIDAL-Where-We-re-Available either.

@Xythium, any ideas? Does your importer use the https://api.tidal.com/v1/albums/<id>?countryCode=<country> endpoint or something else?

I checked again and itā€™s since been removed from the list. I guess I caught it right before it was pulled worldwideā€¦
Interestingly enough, the release in question is still available on Spotify. Itā€™s been pulled from Amazon Music too.

3 Likes