home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
No Fanart when playing
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="horned_reaper" data-source="post: 1273122" data-attributes="member: 109929"><p>You're right, this is the root cause! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite24" alt="(y)" title="Thumbs Up (y)" loading="lazy" data-shortname="(y)" /></p><p></p><p>The MusicBrainz search API uses "and" as operator. Hence the MBID search for artists with "and" in their name fails with the current query format</p><p></p><p>But I've found a solution! The MBID search on MusicBrainz works with the following format:</p><p><a href="http://musicbrainz.org/ws/2/artist/?query=" target="_blank">http://musicbrainz.org/ws/2/artist/?query=</a>"Marina And The Diamonds"</p><p></p><p>Not working (current format):</p><p><a href="http://musicbrainz.org/ws/2/artist/?query=artist" target="_blank">http://musicbrainz.org/ws/2/artist/?query=artist</a>:"Marina And The Diamonds"</p><p></p><p>The "artist:" field name needs to be removed for "and" to work on artist searches.</p><p></p><p>And the & character in the artist name needs to be replaced by %26 (URL Encoding). Working examples:</p><p>Blank & Jones: <a href="http://musicbrainz.org/ws/2/artist/?query=" target="_blank">http://musicbrainz.org/ws/2/artist/?query=</a>"Blank %26 Jones"</p><p>Lexy & K-Paul: <a href="http://musicbrainz.org/ws/2/artist/?query=" target="_blank">http://musicbrainz.org/ws/2/artist/?query=</a>"Lexy %26 K-Paul"</p><p></p><p>The same applies to <strong>album</strong> (release group) searches, the & character needs to be replaced by %26 (URL Encoding). Working examples:</p><p><a href="http://musicbrainz.org/ws/2/release-group/?query=artist" target="_blank">http://musicbrainz.org/ws/2/release-group/?query=artist</a>:"Marina And The Diamonds" AND release:"Electra Heart"</p><p><a href="http://musicbrainz.org/ws/2/release-group/?query=artist" target="_blank">http://musicbrainz.org/ws/2/release-group/?query=artist</a>:"DJ Sakin %26 Friends" AND release:"Walk On Fire"</p><p><a href="http://musicbrainz.org/ws/2/release-group/?query=artist" target="_blank">http://musicbrainz.org/ws/2/release-group/?query=artist</a>:"Warlock" AND release:"Triumph And Agony"</p><p></p><p>Can we give this small change a try to further improve the MusicBrainz ID search?</p><p>You will keep on supporting you on enhanced testing against my huge music collection. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="horned_reaper, post: 1273122, member: 109929"] You're right, this is the root cause! (y) The MusicBrainz search API uses "and" as operator. Hence the MBID search for artists with "and" in their name fails with the current query format But I've found a solution! The MBID search on MusicBrainz works with the following format: [URL]http://musicbrainz.org/ws/2/artist/?query=[/URL]"Marina And The Diamonds" Not working (current format): [URL]http://musicbrainz.org/ws/2/artist/?query=artist[/URL]:"Marina And The Diamonds" The "artist:" field name needs to be removed for "and" to work on artist searches. And the & character in the artist name needs to be replaced by %26 (URL Encoding). Working examples: Blank & Jones: [URL]http://musicbrainz.org/ws/2/artist/?query=[/URL]"Blank %26 Jones" Lexy & K-Paul: [URL]http://musicbrainz.org/ws/2/artist/?query=[/URL]"Lexy %26 K-Paul" The same applies to [B]album[/B] (release group) searches, the & character needs to be replaced by %26 (URL Encoding). Working examples: [URL]http://musicbrainz.org/ws/2/release-group/?query=artist[/URL]:"Marina And The Diamonds" AND release:"Electra Heart" [URL]http://musicbrainz.org/ws/2/release-group/?query=artist[/URL]:"DJ Sakin %26 Friends" AND release:"Walk On Fire" [URL]http://musicbrainz.org/ws/2/release-group/?query=artist[/URL]:"Warlock" AND release:"Triumph And Agony" Can we give this small change a try to further improve the MusicBrainz ID search? You will keep on supporting you on enhanced testing against my huge music collection. :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
No Fanart when playing
Contact us
RSS
Top
Bottom