Author Topic: Helpful customizable web links using custom tags  (Read 6466 times)

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
These are the weblinks I use for Musicbee 3.0 (Preferences > Internet).  With mp3tag, I noticed that the discog and musicbrainz scripts included added IDs to my tags from the respective services (Discogs: release ID; Musicbrainz: album ID).  Note, to change these (or any) tag fields to your liking, just go to  C:\Users\(user name)\AppData\Roaming\Mp3tag\data\sources\ and open the desired src file with any text editor of your choice.

For example (from MusicBrainz v2#&5 I&D (+ID Tags).src):

Quote
# Catalog number - default output "Catalog number"
findinline "<catalog-number>" 1 1   
movechar -16
if "<catalog-number>"
    outputto "LABELNO"
    sayregexp "(?<=catalog-number>)[^<]+(?=<)" ", " "</label-info-list>"
else
   gotoline 1
endif

I changed "LABELNO" to "CATALOG#", which leads to the catalog number from musicbrainz pages to be saved in <CATALOG#>.

Anyways, I incorporated the album IDs of the respective services as customized tags and created weblinks to use these values if they're available.  Essentially, the following formulas look for the album ID first.  If not found, the weblink will use the standard <Artist> or <Album> fields.  These formulas will lead to more precise queries:

Discogs: $IsNull(<Discogs Release ID>,https://www.discogs.com/search/?q=<Album>&btn=&type=release,https://www.discogs.com/release/<Discogs Release ID>)

MusicBrainz (<Artist> search): $IsNull(<Musicbrainz Album ID>,http://musicbrainz.org/search/textsearch.html?query=<Artist>&amp;type=artist&amp;an=1&amp;as=1,http://musicbrainz.org/release/<Musicbrainz Album ID>)

MusicBrainz (<Album> search): $IsNull(<Musicbrainz Album ID>,http://musicbrainz.org/search/textsearch.html?type=release&amp;query=<Album>,http://musicbrainz.org/release/<Musicbrainz Album ID>)

One can look up labelno's of the album (I have it as the customizable field: <Catalog#>):
VGMdb: $IsNull(<Catalog#>,http://vgmdb.net/search?q=<Album>,http://vgmdb.net/search?q=<Catalog#>)

Last Edit: March 15, 2016, 01:29:50 AM by ssri

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10711
These are great!  Would you mind adding them to the wiki?  I think they would make a great addition to this page: http://musicbee.wikia.com/wiki/Web_Encyclopedia_List
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches (3.5/3.6)
(Unzip and overwrite existing program files)


psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10711
Awesome, thanks!
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches (3.5/3.6)
(Unzip and overwrite existing program files)