Site
Home / Forum / General Discussion / Can't get a match for DMA's

Can't get a match for DMA's


Posted: 27 Oct 2021 19:33
theccap10
Posts: 7
Joined: 2020-07-16

Hi there,

I'm trying to add some tracks to my music collection from the band the DMA's. I'm finding that I can get a hit on the DMA's - Delete track but on most of the other tracks I'm trying to scrape it is returning a null result. e.g.

https://www.theaudiodb.com/api/v1/json/{APIKEY}/searchtrack.php?s=DMA%27s&t=Silver returns a {"track":null} result
whereas
https://www.theaudiodb.com/api/v1/json/{APIKEY}/searchtrack.php?s=DMA%27s&t=Delete returns the expected result.

If I search the artist I can find the tracks but they just don't appear to be found using the API.

Can anyone suggest what I might be doing wrong here?

Thanks



Posted: 05 Nov 2021 13:45
zag
Posts: 224
Joined: 2020-07-14

try using the apostrophe instead of the encoded string

Posted: 22 Dec 2021 08:54
theccap10
Posts: 7
Joined: 2020-07-16

Thanks Zag, apostrophe didn't help. I have noticed that there a three albums by the DMA's and i can only find tracks off the first album. Tracks of the other albums always return null? Might try re-adding the albums.

Posted: 22 Dec 2021 09:36
theccap10
Posts: 7
Joined: 2020-07-16

I used the musicbrainz release group query to compare the albums. Looks like there is an issue with the Artist name against the Albums. It is correct for the first album (Hills End) but the other albums have the Artist name as "DMAu2019s".

👍 zag
Posted: 23 Dec 2021 21:10
zag
Posts: 224
Joined: 2020-07-14

I used the musicbrainz release group query to compare the albums. Looks like there is an issue with the Artist name against the Albums. It is correct for the first album (Hills End) but the other albums have the Artist name as "DMAu2019s".

Nice findings! I have re-imported the albums now. Hopefully it works again.

Posted: 27 Dec 2021 06:33
theccap10
Posts: 7
Joined: 2020-07-16

Hey, Thanks Zag. Unfortunately it doesn't look like it worked. Artist Name is still wrong using the Music Brainz Release Group Query. Could the issue be with the data coming from Music Brainz?

Posted: 23 Mar 2022 08:29
theccap10
Posts: 7
Joined: 2020-07-16

at the risk of being a pain, is anyone able to help fix the DMA's data set?
TADB Artist id is 142660

These two TADB Album ids (idAlbum":"2375793" and idAlbum":"2375792") have the incorrect strArtist set (i.e. DMAu2019s). It should be DMA's. It looks like a malformed URL encoding ref for an apostrophe or something.

The first album (idAlbum":"2263205") is correct.

Zag has reimported the albums from MusicBrainz but the issue persists. If the issue is Musicbrainz can anyone advise the process for having this corrected.

Many thanks


Posted: 23 Mar 2022 09:34
zag
Posts: 224
Joined: 2020-07-14

Anyone can sign up on musicbrainz and fix data.

Although saying that the strArtist data looks fine here, its all DMA's

EDIT: Ahh I think I found the issue. Its using a wierd aposprophe character. I have replaced all the wierd ones with normal apostrophes. Let me know if it works.

Posted: 23 Mar 2022 23:17
theccap10
Posts: 7
Joined: 2020-07-16

That worked a treat Zag, Thanks a lot.

Did you make that change in Musicbrainz or in the TADB data? (just out of curiosity).

Those pesky apostrophes can often be the issue I am finding. thanks again.


Posted: 24 Mar 2022 21:56
zag
Posts: 224
Joined: 2020-07-14

That worked a treat Zag, Thanks a lot.

Did you make that change in Musicbrainz or in the TADB data? (just out of curiosity).

Those pesky apostrophes can often be the issue I am finding. thanks again.


I only changed here, MB have weird policies on apostrophe's and allow all kinds of UTF8 characters not normally seen elsewhere. I've seen this issue before so have a quick batch fix. I just need to remember to run it every so often.

👍 theccap10

Showing 0 to 10 (Total: 10)