I’m still working on my app for creating NFO files for Kodi music videos. I thought I had everything done when I started to run into problems with the query API returning differnt results than a standard MusicBrainz search. I’m using the same criteria as a previous topic where I’m searching for Whitney Houston’s “I Wanna Dance With Somebody (Who Loves Me)”. This is the query I’m using:
https://musicbrainz.org/ws/2/recording?query="i wanna dance with somebody (who loves me)" AND artist:"whitney houston"&fmt=json
This nets me 59 results. The problem is the recording I need, from the album “Whitney”, doesn’t appear.
You’re awesome . I gotta say it’s weird that using \( and \) works but %28 and %29 do not in the API when that encoding does work in the site search. Also I don’t understand why not including &limit=100 produces different results (as in your version without &limit=100 also returns 59 results but without the album “Whitney” ones).
I’m not gonna complain but I have to ask are there any other characters I should escape when using query= or is there a page that documents this necessity?
This issue is related to sorting. See the above explanation by @jesus2099. There is some work in progress to address it, but no expected time of arrival can be given.
Those characters are + - && || ! ( ) { } [ ] ^ " ~ * ? : \ / as listed in the linked Lucene documentation page. Admittedly, advanced search is austere for now.