# MusicBrainz search format

**URL:** <https://community.mp3tag.de/t/musicbrainz-search-format/46066>\
**Category:** Support\
**Created:** [August 1, 2019, 8:38pm UTC](https://community.mp3tag.de/t/musicbrainz-search-format/46066 "2019-08-01T20:38:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZbSKRN](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zbskrn/32/6704_2.png) [@ZbSKRN](https://community.mp3tag.de/u/ZbSKRN)\
**Post date:** [August 1, 2019, 8:38pm UTC](https://community.mp3tag.de/t/musicbrainz-search-format/46066/1 "2019-08-01T20:38:38Z")

</div>

How do I change MuzicBrainz to search for tags by title and artist instead of album and artist. I tried editing the MusicBrainz.scr as below without success any suggestions would be greatly appreciated. FYI most of my filenames are in a "artist - Title" format.

#[SearchBy]=$regexp(%album%,'[-+!(){}[]^"~_?:\]',)$if(%artist%, AND artist:($regexp(%artist%,'[-+!(){}[]^"~_?:\]',)),)  
[SearchBy]=$regexp(%title%,'[-+!(){}[]^"~_?:\]',)$if(%artist%, AND artist:($regexp(%artist%,'[-+!(){}[]^"~_?:\]',)),)

thank-you  
Zb

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [August 1, 2019, 9:45pm UTC](https://community.mp3tag.de/t/musicbrainz-search-format/46066/2 "2019-08-01T21:45:44Z")

</div>

If you look in the same MusicBrainz.src you will find this two lines:

```
[IndexUrl]=http://musicbrainz.org/ws/2/release/?limit=50&query=release:%s
[AlbumUrl]=http://musicbrainz.org/ws/2/release/

```

This is the search URL for `/release/` (=MusicBrainz definition for "album").

You have to change it to something like `/recording/` or `/work/`  
according to [https://musicbrainz.org/doc/Development/XML\_Web\_Service/Version\_2](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2)

**BUT:**  
I don't think this two resources return the same amount of parseable data as you get it for release.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/musicbrainz-search-format/46066/3 "2026-02-09T12:28:12Z")

</div>


