How to add all the release group info into files?

Musicbrainz stores a lot of interesting bits of information for a release group such a relevant page at wikipedia. Sometimes a review etc. See Release group “Highway 61 Revisited” by Bob Dylan - MusicBrainz for an example at the bottom.

How can I get this info and store it into each track using picard?

1 Like
  1. You need to check whether the information is present in the release data sent by MusicBrainz. Turn on relations in Options/Metadata. Turn on debug logging, Load the release. Check the debug log for the URL used to get the data, and copy / paste it into a web browser to see the data that is sent.

  2. If the data you want is sent, then you need to write a plugin (Album / Track Metadata) to process the data and extract it into the release / track metadata variables inside Picard. You will need to identify which tags you want to use to store the data and use an index name that matches.

There are going to be several existing plugins that you can crib from as a starting point for what you want to achieve.

Hey @dpr,

Series metadata (such as the stuff at the top of your screenshot) are exposed. The tagger script variables are listed here.

To fetch RG-level external links (such as reviews, Discogs master pages, etc.) in order to store them in tags, someone would need to write a plugin that queries the MusicBrainz API.

Specifically, the plugin would call the API to fetch the url-rels (URL relationships) for the release group. Here’s a non-pretty preview of the data you get with that:

http://musicbrainz.org/ws/2/release-group/fb48b1dc-412f-36aa-8820-1023c08c46c6?inc=url-rels

1 Like