getmusicbee.com

General => Beyond MusicBee => Topic started by: psychoadept on September 26, 2015, 05:13:53 AM

Title: MusicBrainz Picard q & a thread
Post by: psychoadept on September 26, 2015, 05:13:53 AM
Here's some info to get you started, for folks interested in using MusicBrainz Picard for tagging.  (MusicBrainz and MusicBee both abbreviate MB, but since this is the MusicBee forum if I use that here I mean MusicBee.)

---

Official Picard updates are extremely few and far between (I've been using Picard since 2009, and it's on 2.0).

MusicBrainz Tagger Support forum (usually pretty responsive): https://community.metabrainz.org/

Picard documentation: https://picard.musicbrainz.org/

There's a list of handy Picard scripts at the end of this page: https://picard.musicbrainz.org/docs/scripting/

If you're going to do much scripting, this tag mapping chart can be helpful: https://picard.musicbrainz.org/docs/mappings/

An article that I wrote on using Picard scripts to tag MB's special tags: http://musicbee.wikia.com/wiki/Tagging_Multiple_Artists_with_Picard

To configure Picard as a "Send To" application, use "<URLs>" as your parameters.  That will send all selected files to one instance, instead of opening a separate instance for each file.  Non-Latin characters sometimes cause problems when sending this way, in which case you can drag & drop.

---

One thing that is super important in using Picard and MB together is the "preserve these tags from being cleared or overwritten with MusicBrainz data" field.  You can use this to protect any tag that you don't want changed, including replay gain tags and MB custom tags.  It's in Options > Options > Tags.

Picard will still fill in values for blank tags, even if the tag is "preserved".  To keep a tag from being written at all, you make a script that says $unset(tag).  (Scripts go in Options > Advanced > Scripting.)  For instance, I unset a bunch of miscellaneous info that Picard provides that I don't care about:

$unset(media)
$unset(barcode)
$unset(catalognumber)
$unset(script)
$unset(asin)

---

Scripts are very helpful for customization, and there are lots of handy plugins, too.  Some that I find useful:

*Add Cluster As Release (if MusicBrainz doesn't have the album you're trying to tag, you can use this to quickly create it based on the info currently in the files - only works for whole albums)
* Standardize Performers / Format Performer Tags  (really helpful if you're going to use the performer tags in any meaningful way)
* Sort Multi-Value Tags
* Standardize Feat. (helpful since MusicBrainz moved to entering featured artists as show on the release)

Beware that some plugins, notably some of the genre plugins, can slow things down. But as of 2019 MusicBrainz has added better built-in genre support, so hopefully those plugins will be less needed.

---

My only major complaint with Picard is that it is really poor at artwork management. You can get artwork from several sources, some of which is really good, and in the latest version even rank sources, but it will overwrite embedded artwork even if there's nothing else found.  If you have artwork you can't easily find again with MB, be sure to move it to an external file before tagging with Picard so you can add it back later. Also, if it's trying to download a lot of artwork it will slow things way down.

I find Picard most manageable with <1000 tracks at a time.  Don't expect to be able to do your whole library at once.  And keep in mind that the info in the MusicBrainz database varies in quality.  For instance, it can tag original year, but only if the original release is available.  Since MusicBrainz is structured around albums, it can be a little weird with handling individual tracks.  I've got it tuned to the point that IF the correct data is there, I usually get what I want on the first try, but I would never save something in Picard without at least glancing at it.  I spend quite a bit of time editing the database, too, because I figure if I have to spend time looking up info on a track or album, I may as well save it for myself and others to use later.

ALWAYS test a new script/setting/plugin/etc on a backup or an easily repaired file!


p.s. Picard can also reorganize files, similar to MB's organize functions, but I always rely on MB for that so I can't tell you much about it.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on September 27, 2015, 09:01:46 PM
onkelbo has asked about how to tag the original release date of a track on a compilation.

The answer to this depends partly on whether you want to keep the rest of the tags as the compilation, or tag the whole thing with the original release info.  But you'll use the same kind of techniques, either way.  (This is going to seem worse than it is, probably.  Once you've set a lot of this up the first time, you won't have to do it again.)

---

I'm going to treat this like you're working with a new installation of Picard (for the record, I wrote this with daily build #183), so we'll start with settings, which are found in Options > Options.

In Options > General, there are two tickboxes.  I suggest unticking "Automatically scan all new files" so that Picard doesn't start looking things up until you're ready.

There are two other settings screens that are going to be really important for this: Tags, and Metadata > Preferred Releases.

(http://i.imgur.com/x0MGMokm.png) (http://imgur.com/x0MGMok)

On the Tags screen, of course you want to write tags.  I also suggest ticking "Clear Existing Tags".  You can still preserve tags already in the files, either individually or by using the "preserve these tags" box.  

Put EVERYTHING you don't want Picard to change in the "preserve these tags" box.  If you ONLY want the original date and not the other original release info, this will include album, albumartist, date, tracknumber, etc.  In order to figure out what name to use, either look at the "Internal Name" column of the tag mapping chart I linked above, or you can look it up by opening Picard's tag edit screen (right click on the tag in the bottom pane).  Capitalization matters!

(http://i.imgur.com/agg9iPhm.png) (http://imgur.com/agg9iPh)

To preserve a tag manually, you can right click on it in the bottom pane of Picard and select "Use Original Value" or "Remove".  See my first post for how to keep a tag from being written at all.

(http://i.imgur.com/DoF4j8Zm.png) (http://imgur.com/DoF4j8Z)

The Preferred Releases screen is helpful for steering Picard towards the type of release that you want it to look up.  It's not perfect, but it helps.  Right is higher, left is lower.  You're probably going to want to maximize album or single and set compilation at minimum.  Sometimes the original release was actually a soundtrack or live album, but in those cases you'll probably want to do a little research to be sure.

If you're tagging the whole release rather than just original year, you can try adding some values to release country and release format to help you out.  Neither of those will matter for just the original date, because Picard always takes the earliest date in the release group for that.  If you're tagging the whole release, though, they will matter - otherwise Picard is as likely to give you the 2009 remaster as the original Beatles album, etc. (I use a script that forces the date to the original year regardless of the specific release, although that can get a little tricky, too, because re-releases may have bonus tracks that have later dates.)

Also if you're tagging the whole release, it will be helpful to know where to find the list of alternate releases in Picard.  You can right click on any release that has loaded in the right hand pane and select "Other Versions" to see the full list.

(http://i.imgur.com/MkVOnEwm.png) (http://imgur.com/MkVOnEw)

I'm going to give some specific examples, but I'll put them in another post.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on September 27, 2015, 10:32:46 PM
Here's a super easy example:

The track is Wild Horses by The Sundays.  I currently have it on "Buffy the Vampire Slayer: The Album", a compilation from 1999.

The easiest ways to get tracks into Picard from MB are either drag & drop or to configure Picard as an external tool (see first post in this thread).

Unless you've tagged it with Picard previously, the file should appear in the left hand pane:  

(http://i.imgur.com/kITlzk8m.png) (http://imgur.com/kITlzk8)

You should see two buttons in the Picard toolbar labeled "Scan" and "Lookup".  Scan looks things up based on the audio fingerprint of the file, Lookup looks them up based on tags.  For this purpose, Lookup will usually serve you better.

I clicked Lookup, and based on my preference for albums over compilations, Picard correctly loads the album Blind by The Sundays, from 1992.

(http://i.imgur.com/B2eal6wm.png) (http://imgur.com/B2eal6w)

I did this one with the original album info protected.  This is the list of tags I put in "preserve these tags":

album, albumsort, title, titlesort, artist, artistsort, albumartist, albumartistsort, tracknumber, totaltracks, discnumber, totaldiscs, date, label, compilation

This is what I have in scripts (if you have info in them, you could protect them instead):

$unset(media)
$unset(barcode)
$unset(catalognumber)
$unset(script)
$unset(asin)

In the bottom panel, you should see the old info and the new info for the file.  As you can see, most of the info hasn't changed:

(http://i.imgur.com/68fHHh5m.png) (http://imgur.com/68fHHh5)

Looking further down, though, you can see that it has picked up the original date/year from the album, as well as some other info:

(http://i.imgur.com/jI08lcQm.png) (http://imgur.com/jI08lcQ)

Okay, so maybe we need to protect or unset Release Country, Release Type, and Release Status, too.  But you get the idea.  And picking up the personnel from the album might be desirable!  (You will also see a lot of "MusicBrainz" tags which you will have to decide how to handle.  I suggest keeping them in case you need to look something up again, but if your compilation tagging was also with MusicBrainz you might want to keep the original value instead.)

---

This will get a little tougher if Picard doesn't find the right source album right away, or if you're not sure if it's the right source.  If Picard had not found it (it is occasionally WAY off the mark, sometimes because the data was entered incorrectly, or because some combination of settings goes haywire), I would use the "Lookup in Browser" command to try to track down the source myself.   This works best if the track is in the left panel.  If it was associated with an incorrect album on the right, you can drag it back to the left.

Doing a browser lookup on this track gets me here: http://www.musicbrainz.org/taglookup?tport=8000&artist=The%20Sundays&track=Wild%20Horses&tracknum=14&duration=286119&release=Buffy%20the%20Vampire%20Slayer:%20The%20Album&filename=12%20Wild%20Horses.mp3

If you look in the right hand column, you will see that the track was used on some compilations, but there is also the original album and a couple of singles.  If you know which one you want, usually clicking that green "tagger" icon will load the release in Picard.  If it doesn't, you can also paste the URL for the release in Picard's search bar.

You'll also find the search parameters at the bottom of the page, and you can change them (for instance, removing the album title from the search).

---

Of course, if you get one of those tracks that is on a million compilations, it's going to be more difficult to track down.  That's usually when you have to start doing some real research.  Here's a more challenging one:

I have a recording of Caravan by Duke Ellington from a compilation called Big Band Fever.  Doing "Lookup" just gets me another compilation, from 1993.  Doing "Lookup in Browser" doesn't have great results, either, until I remove the album title from the search.  Then I see a single (I usually look for singles of anything pre-1950ish):

http://www.musicbrainz.org/taglookup?tag-lookup.artist=Duke+Ellington+%26+His+Orchestra&tag-lookup.release=&tag-lookup.tracknum=1&tag-lookup.track=Caravan&tag-lookup.duration=169874&tag-lookup.filename=1-01+-+Duke+Ellington+%26+His+Orchestra+-+Caravan.mp3

It's from 1937, but it doesn't have a length for the recording that I can compare to mine.  Now I have to decide if I care whether it's the same recording, or whether I want to do the research to identify different recordings.  You'll have to answer those questions for yourself.  :)

---

There is always the possibility that the original source of the track isn't in the database.  For most mainstream music since ~1970, that doesn't seem to be much of a problem.  The earlier the release, the more likely you're not going to find it.   I hope you'll think about adding it to the database, if you end up looking something up that's not in MusicBrainz.  There are some really handy import scripts for discogs, bandcamp, CD Baby and so on.

---

Questions/suggestions?  Specific cases I can help with?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on September 29, 2015, 01:45:14 PM
P.S. I found a new plugin yesterday called Keep Tags which might make it easier to target a specific tag that you want, but I haven't played around with it enough to say for sure.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on September 29, 2015, 02:53:10 PM
This is great, thank you for all this effort and information psychoadept!
This motivates me to soon invest some serious time in rediscovering MusicBrainz/Picard.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on September 29, 2015, 08:12:40 PM
My pleasure!  If I can short cut Picard's learning curve for anybody, I'm happy to do so.
Title: Re: MusicBrainz Picard q & a thread
Post by: 5moufl on April 24, 2016, 01:20:25 PM
How did you set MB and Picard so that MusicBrainz IDs can be read and not rewritten by MusicBee (the ALL CAPS issue with id3v2.4 tags)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on April 24, 2016, 03:07:53 PM
How did you set MB and Picard so that MusicBrainz IDs can be read and not rewritten by MusicBee (the ALL CAPS issue with id3v2.4 tags)

I don't have musicbrainz ids configured in MusicBee so I haven't encountered that issue, sorry
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on December 17, 2016, 01:53:27 AM
This is an excellent thread psychoadept, i've already been using picard but there is much i dont know about it.
I've recently migrated from mediamonkey to MB and already i can tell it will serve me well. Still need to play around with tagging in MB though, havent touched that feature yet.

I have already processed all of my albums with picard and used the lastfm.ng plugin to tag my genres. Unfortunately my earliest release dates which i tagged with mediamonkey got overwritten so i'll have to use your guide to sort them out.

I still have to tag my random, non-album mp3's  so thought id check in with you to see whats my best bet with tagging

Can you tell me:
1) How do you manage your non-album, miscellaneuos mp3's? I currently have mine sorted by decade and have put them into albums "I Love the XX's" e.g. 60's, 70's etc. When i run them through picard i'll probably stick to this system and "preserve" the existing album tags
2) Can MB tag musicbrainz id's? or is that only picard
3) How to you manage your genres? I had a white list for acceptable genres that i put together for mediamonkeys genrefinder to scrape lastfm but it appears picard is limited with genre finder plugins. lastfm.ng does grab genres but i can see it will be a headache changing the stock genre list.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 17, 2016, 02:33:36 AM
1) How do you manage your non-album, miscellaneuos mp3's? I currently have mine sorted by decade and have put them into albums "I Love the XX's" e.g. 60's, 70's etc. When i run them through picard i'll probably stick to this system and "preserve" the existing album tags
2) Can MB tag musicbrainz id's? or is that only picard
3) How to you manage your genres? I had a white list for acceptable genres that i put together for mediamonkeys genrefinder to scrape lastfm but it appears picard is limited with genre finder plugins. lastfm.ng does grab genres but i can see it will be a headache changing the stock genre list.

1) Personally, I tag everything I can to an album, even if there's just a single track, except like I said I tend to go with singles from the days when they were more common than albums.
2) Just Picard, although MusicBee can sometimes make use of them
3) Still figuring this out myself!  I can tell you that MusicBee can get genres from last.fm and discogs (with the discogs plugin), and gives you the ability to place genres in genre categories.  That can all be customized from tags (2) preferences.

You might be interested in the wiki page on Auto-Tagging: http://musicbee.wikia.com/wiki/Auto-Tagging
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on December 17, 2016, 07:13:59 AM
thanks for the quick response psychoadept
So i had a toy around with picard and set my preferred releases to maximum on single and zero on everything else. The results were pretty good actually and maybe 75% of my 80's-90's-00's random songs got a hit. They are mostly popular songs by each artist so i would expect most to have been released as a single. Unfortunately only around 5% of all the songs get the single cover art - is this what you are finding also?
While we're on the subject of singles do you have any sort of different naming convention for singles or just go with straight up "album"?

Cheers :D
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 17, 2016, 03:47:12 PM
If you're not getting artwork, it's because it's not in the database.  But you can easily find and add it to musicbrainz yourself.  Just be sure you get the right artwork for a particular edition.  It sucks getting voted down because you got the wrong version.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on December 18, 2016, 07:07:14 AM
Hmmm thats a shame. Unfortunately i dont have the time to manually source each single cover (i have possibly 3000 random songs). Can musicbee help out with finding a missing cover? I find that picard often selects the single from a region without the cover art owing to the track duration being closest fit. Again its painful to manually intervene and force picard to select the single with cover art (unless theres a preference option i dont know about)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 18, 2016, 07:44:41 AM
MusicBee has some pretty powerful artwork search features, but might not be as effective for singles.

What version of Picard are you on?  Try the latest "daily" build from here: https://build.oxygene.sk/job/package-picard-win-daily/

It has much improved artwork settings over the official version, including the ability to take the release group image when there is none for the release, which should cut down on hunting for the release that has artwork.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on December 19, 2016, 09:29:26 AM
ahhhhh that does help! i was using the latest official release 1.3.2 and just upgraded to 1.4 dev5
The option in cover art for CAA release significantly improves single cover findings!

Thanks for the tip!
Title: Re: MusicBrainz Picard q & a thread
Post by: karaluh on August 12, 2017, 10:26:33 PM
Is there a way for Picard to recognize MB rating? I'm trying to sync my ratings with MusicBrainz and this would be the best course of action.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 13, 2017, 12:42:44 AM
Based on this very old Picard ticket, I would guess no: https://tickets.metabrainz.org/browse/PICARD-130

However, you can get better help on ratings and Picard at the MusicBrainz forum: https://community.metabrainz.org/
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on February 19, 2018, 02:52:46 PM
I wish there was an easier way to check the musicbrainz site from musicbee directly, preferably by right clicking a track or something.

Is there any way to make custom web links to the MusicBrainz pages for each release, recording, artist, etc?
For example, a track might have this tag (from mediainfo lite)
MusicBrainz Album Id        : f2c9734d-707c-4d09-92e6-244d741bf94e
Could musicbrainz take that tag and make a custom weblink to this page?
https://musicbrainz.org/release/f2c9734d-707c-4d09-92e6-244d741bf94e

Looks like custom web links can be made for searching for artist tags but I can't tell if musicbee can use these tags in some way.
Maybe web links don't show up quite where I thought they would but it's something at least.

It's a shame that most of my music got these specific tags that tie to an online database but musicbrainz can't take advantage of it really.
Title: Re: MusicBrainz Picard q & a thread
Post by: frankz on February 19, 2018, 03:42:21 PM
Web links are on the now playing screen for me, right clicking on the track info.

You can make a custom tag (http://musicbee.wikia.com/wiki/Custom_Tags) (maybe, or a virtual tag, I am not an expert on either) with MusicBrainz's Album ID and then make a web link to it.

https://musicbrainz.org/release/<YOURTAG>
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on February 19, 2018, 05:27:14 PM
Web links are on the now playing screen for me, right clicking on the track info.

You can make a custom tag (http://musicbee.wikia.com/wiki/Custom_Tags) (maybe, or a virtual tag, I am not an expert on either) with MusicBrainz's Album ID and then make a web link to it.

https://musicbrainz.org/release/<YOURTAG>

Yes, if you have the MusicBrainz ID in a custom tag, you can use it to construct a link.  You actually don't even need a virtual tag; the links under Internet can be constructed with templates.  (See the wiki for more on templates.)
Title: Re: MusicBrainz Picard q & a thread
Post by: alec.tron on March 08, 2018, 09:33:12 PM
Has anyone tested the picard 2.0 beta that came out recently ?
Is it stable & recommended as a starting point (i.e. has it been in closed beta before, so the worst kinks are ironed out ? or is it a crash fest & one needs to keep a close eye on output, and should be able to put it in context of 1.x versions to make sense of it...) ?

Also, for the regular users - the documentation does sound as if you could easily:
- adjust the mapping for which tags are written where ? ( I wouldn't want ANY standard tags to be touched... at all, as all is set up with standard tags via discogs... but I wouldn't mind having musicbrainz data in custom fields... )
- use python snippets with the picard editor ?
- and finally - more of a workflow question - is there anything in Picard to show where tags would get changed (similar to foobar's foo_discogs tagger way that can be tuned to show on;y what will be changed [unfortunately it's still a bit tricky to adjust the mapping template there on the fly...).

Cheers.
c.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on March 08, 2018, 11:59:10 PM
I haven't tried 2.0 yet, but if there's a beta available I'll check it out asap

You can accomplish any remapping of tags with scripts and settings. It's really easy in the last 1.x version to add fields that you want to be protected from changes. Artwork is the only one you might have to worry about on an album-by-album basis.

The whole point of the bottom panel in Picard is to allow you to see exactly what changes will be made and adjust them as desired.

My guess with python snippets or you'd have to write a plugin, but I can't swear to it.
Title: Re: MusicBrainz Picard q & a thread
Post by: alec.tron on March 09, 2018, 03:03:40 AM
Sweet as, thanks for the info.
Here's the beta announcement from recently:
https://blog.musicbrainz.org/2018/03/07/picard-2-0-beta-announcement/

c.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on March 09, 2018, 04:08:30 AM
Sweet, thanks!  I've been knee deep in homework and barely keeping up with anything else.
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on July 03, 2018, 05:34:44 PM
I'm trying to tag this release (https://musicbrainz.org/release/0fa5cd1c-c3e9-4c38-b6a0-5c473b180604) and get the split artist stuff working but I'm having problems. I tried using the first script on the wiki page (http://musicbee.wikia.com/wiki/Tagging_Multiple_Artists_with_Picard) and using the plugin and I somehow got a good result the first time but now I can't reproduce it.. I think I'm not sure if I should use the script and the plugin or both and also if I should use idtag 2.3 or 2.4...

Can anyone here tag any mp3 to one of those tracks and get the artists "right"?


This is what I get now: (https://i.imgur.com/dCsYcb4.jpg)
Basically Original values are good if musicbee can see the different artists but I'm not sure how I got them and I can't reproduce it.

EDIT: I might have figured it out, using the plugin, 2.4 tags and new mbee 3.2 seems to work even though it looks wrong in that image.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 06, 2018, 12:16:18 AM
I would recommend disabling the plugin. I use only the scripts and I don't think the plugin has been maintained.  If that doesn't help, maybe share your scripts so I can look over them.
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on July 21, 2018, 07:06:46 PM
2.0 is out: https://blog.musicbrainz.org/2018/07/19/picard-2-0-released/

Just be aware that it's not an installer, it's a single executable that also might upgrade/poorly import your settings so back them up before even running the file.
Quote
Be aware that downgrading from 2.0 to 1.4 may lead to configuration compatibility issues – ensure that you have saved your Picard configuration before using 2.0 if you intend to go back to 1.4.
[/s]
EDIT: fixed: https://blog.musicbrainz.org/2018/07/21/picard-2-0-1-released-windows-and-macos-users-rejoice/

About the scripts, i was using this one: http://musicbee.wikia.com/wiki/Tagging_Multiple_Artists_with_Picard#Display_Artist_and_Guest_Artist

And it was still problematic. Like I said, if you can tag any mp3 to that album I linked above and get proper split artists in musicbee then I'm curious how you did it. Not sure if the music you tag creates this issue.

I got it right once and that might be thanks to that plugin, script or the 2.4 id3 tag setting or some combination of the three.

And I'm sorry for the late reply... :-[
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 21, 2018, 09:57:25 PM
Regarding the script, I found an issue with it recently (maybe related to Picard changes) and updated it on the page, so give it another shot. If it's still not doing it, give me some screenshots and I'll try to work through it with you.
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on July 23, 2018, 10:40:55 PM
That might be correct for musicbee but is the "artist" field supposed to be empty in Picard when there are multiple artists? Looks a bit odd, even other software like VLC it looks to be no artist tagged..

(https://i.imgur.com/j8m3JDO.jpg)

For the DJ hero tracks I tagged right the first time somehow and can't reproduce the result this happens:
(https://i.imgur.com/dGcpwPt.jpg)
It seems to not change anything that badly except removing the "artist" tag, maybe needlessly.

It seems to have solved it for musicbee at least so that's progress. Still not sure if it's exactly right yet.

This is picard 2.0.1 with the newly copied script with id3 tags and UTF-8.
What tag version are you using in picard?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 24, 2018, 02:55:23 AM
You're right, that change fixed it for somebody else but it breaks it for me.

This is the script as I'm using it right now and it's working for me:

$if($in(%artists%,;),
   $set(DISPLAY ARTIST,%artist%)
   $if($in(%artist%,feat.),
      $set(artist,$rreplace(%artist%,\\sfeat.*,))
          $setmulti(GUEST ARTIST,$replace(%artists%,%artist%; ,))
      ,
      $copy(artist,artists)
   )
,)

$if($in(%title%,mix by ),
   $if($not(%remixer%),
      $set(remixer,$rreplace(%title%,.*mix by ,))
      $set(remixer,$replace(%remixer%,\),))
   ,)
,)
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on July 24, 2018, 03:31:39 PM
That works! I only used the first script though, I don't need extra remixer stuff.

Thanks for the help and thanks for the script! :D
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 28, 2018, 06:22:02 PM
@Psychoadept: I have a question concerning the issue you raised on the fake MB forum.
(better to do it here, the moderators here are more relaxed and less trigger happy ;-)

I don't think I understand the exact circumstances where and when this issue occurs.
Picard can't probably overwrite any existing MusicBee custom tags, since MuBr won't offer any content for them to populate Picard in the first place?
So at what stage and under what circumstances will Picard delete MusicBee's custom tags exactly?


edit:
Perhaps in Picard you have set: Tags > Before Tagging > 'Clear existing tags'?
(I don't, which then could account for me not running into this issue at the moment)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 28, 2018, 09:15:41 PM
I do have 'clear existing tags' set, but that's never been a problem before.

The change that broke things was that existing tags are loaded into Picard before it applies scripts, so if a tag is unset in scripts then it is removed, even if it is in the preserve tags list. And if you remove the script to unset it, then blank tags are populated even if they are in the preserve tags list (which has always worked that way, although it would make more sense to me for it to just leave those tags alone).
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 28, 2018, 09:25:24 PM
So if I understand correctly, for now things work well in this regard if you uncheck 'clear existing tags'?
It's of course not a solution for the underlying problem, but at least you could be using 2.0 with some confidence.

I will probably never enable 'clear existing tags'.
That feels a bit like enabling DMZ in a router, and then see if you can create some security after that.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 28, 2018, 09:37:26 PM
So if I understand correctly, for now things work well in this regard if you uncheck 'clear existing tags'?

No, 'preserve tags' overrides the 'clear existing tags' setting so that's not the problem. But even with 'preserve tags' set, Picard will still clear tags which are unset in scripts OR it will fill tags which are empty to begin with. (An easy solution would be to stop Picard from filling empty tags that are on the preserve tags list, but for some reason that's never been changed.) Also, I want to keep 'clear existing tags' because some of my tracks have junk tags I just want to get rid of.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 28, 2018, 09:56:35 PM

Picard will still clear tags which are unset in scripts ...

Are you saying that there is some mechanism in Picard that will erase existing tags, even if 'clear existing tags' is unchecked?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 28, 2018, 10:05:12 PM
Quote from: hiccup
Are you saying that there is some mechanism in Picard that will erase existing tags, even if 'clear existing tags' is unchecked?

ONLY if there is a script that affects them. Since scripts are entered by the user, they override everything (as it should be).

Hmm, now I'm wondering if there's a way to solve my problem with scripts... I'll have to play around.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 28, 2018, 10:10:39 PM
So if I understand correctly:
If you would disable 'clear existing tags' for the moment until there is a fix:

1. none of your populated tags will be erased (unless you have a script doing that), but some existing superfluous garbage tags will not be cleared up.

2. some of your custom tags that happen to also exist in the MusicBrainz universe and are populated with content there will be overwritten.

If that is a correct summary, the real threat to me would be the second issue.
Do you have some examples of custom tags that risk being overwritten by Picard because they sometimes occur at MusicBrainz too?
(I tried a few of my own, but couldn't find one affected)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 28, 2018, 10:34:27 PM
The 'clear existing tags' setting is irrelevant here, because I'm only concerned with tags in the 'preserve tags from being cleared or overwritten' box, which itself overrides 'clear existing tags'.

I can solve the problem of tags being cleared by getting rid of the $unset scripts (which previously removed MusicBrainz values without affecting the existing values).  The problem I can't solve is of empty tags being set with values I don't want. For instance, if Label (aka Publisher) is empty, I want it to STAY empty. There's no way to achieve that without using an $unset script, which in turn removes existing values.

So either I can preserve the existing tags, or I can keep empty tags from being set, but not both at once.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 28, 2018, 11:13:05 PM
I'll give this some more thought and perhaps a try tomorrow, but for the meantime, did you read the "for the moment until there is a fix" part from my previous post?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 28, 2018, 11:39:14 PM
did you read the "for the moment until there is a fix" part from my previous post?

I did, and it doesn't have any affect on this problem for the reason I stated, tags in the 'preserve tags' list are not affected by 'clear existing tags'.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 29, 2018, 09:59:08 AM
I can solve the problem of tags being cleared by getting rid of the $unset scripts

You probably have some more advanced scripts running then.
With trying out some of my straightforward $unset scripts, no tag ever gets deleted.

Reading your ticket, the issue is probably more a consequence of using $set then using $unset.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 29, 2018, 09:47:58 PM
Huh. I swear I've tested that before, but I see what you mean. The 'preserve tags' list is NOT overriding 'clear existing tags'. That's not expected behavior, but you're right that it solves the worst of the problem for now.

Still, I would really like for Picard to have a setting that just says "don't ever change this tag, whether it's empty or not."
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on July 30, 2018, 04:41:24 PM
FYI, 2.0.2 is out. It may solve the hang you were experiencing. It fixed some crashes for me.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 30, 2018, 05:13:27 PM
FYI, 2.0.2 is out

Nice, I'll try it out.
And it looks like they will revert the change that caused the issue you raised too?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 02:21:05 PM
I would like some advice on the following:

When using Picard on an album, the Artist field gets populated by what is considered to be the album artist by MusicBrainz.

Now suppose you have an album by Harold Budd/Brian Eno.
After running that one through Picard, there is one Artist, which is populated with 'HaroldBudd/Brian Eno'.
But I would like to add both Harold Budd and Brian Eno as separate artists, so not only Harold Budd/Brian Eno will show up in the Artists: Artist column, but the two separate artists also.

You can do that by adding them using the tag editor.
Now indeed I have three entries for that album in the 'Artists: Artist' column:
Harold Budd/Brian Eno
Harold Budd
Brian Eno
That's nice and how I want it.

(and be sure to include 'Artist' to the 'preserve these tags' field so it stays that way after a subsequent Picard scan)

But it would be even nicer if Picard would automatically populate the Artist tag in this manner.
Does anybody have a solution or a script for that?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 01, 2018, 02:25:07 PM
Have you tried the script I posted on the wiki for tagging multiple artists with Picatd?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 02:26:41 PM
Have you tried the script I posted on the wiki for tagging multiple artists with Picatd?

Wow, that's fast.
Nope, will try.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 02:33:39 PM
I tried it on one album (2600797a-f28f-4c23-bcb3-1dcbc14ad5a1), but for that one it doesn't do what I hoped it would do.
But that of course doesn't mean the script isn't good, it could well be that MusicBrainz doesn't provides the content that would be needed for this specific album?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 01, 2018, 02:38:30 PM
I don't see why it wouldn't work for that. Can you show me the results you're getting?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 02:39:09 PM
Oh wait, hold your horses. It looks like it does work.
At the second try I disabled all entries at 'preserve tags' and my other scripts, and now it seems to work.
So I'll have to figure out now how I can get them all working nicely together.

Thanks a lot!

PS,
Maybe it is wise to wait putting more effort into this after 2.0.3 is released?
Reverting some things in Picard that you presented being an issue could well be affecting this too?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 01, 2018, 02:46:16 PM
I think you can safely hunt down the conflict. If you want to keep the combined artist value as well a the split artists, I can help you figure out how to tweak that, later.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 02:50:18 PM
Fantastic.
Thanks again.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 03:10:04 PM
Have you tried the script I posted on the wiki for tagging multiple artists with Picatd?

There is own thing that I would like differently.
From my example, without the script I would get 'Harold Budd/Brian Eno' as an Artist.
With the plugin I indeed get Harold Budd and Brian Eno as separate artists.
But I don't get 'Harold Budd/Brian Eno' as an artist anymore.
And I would like to have all three...

Is there a workaround for that?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 01, 2018, 03:29:42 PM
Yes, that's what I was referring to above. You can append the split values instead of replacing the whole artist value. Take a look at the Picard scripting documentation of you want to work on it before I can get to it this evening
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 01, 2018, 03:37:58 PM
Yes, that's what I was referring to above.

Ah, indeed you did. My brainz probably only registered the part of that post that was important to me at that moment.
I would appreciate it if you could present an adjusted script for that.
I am not very comfortable adjusting an existing script.
No hurries at all, whenever you have time and feel like it.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 02, 2018, 04:34:42 AM
So, I think this is even less complicated than I anticipated. Try replacing $copy(artist,artists) with $copymerge(artist,artists) and see if that does the trick.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 07:51:15 AM
So, I think this is even less complicated than I anticipated. Try replacing $copy(artist,artists) with $copymerge(artist,artists) and see if that does the trick.

Yes, that seems to be working great.
I had tried some other aproaches myself, but couldn't get them to work.
(overlooking the copymerge command completely)

So thanx again.
You must be having some use for it yourself too? Predecting that this could be desireable?
Perhaps add it to the script on wikia?


edit:
Running an album through Picard a second time will add artist entries to the 'display artist' tag.
That should normally be avoidable by adding display artist to the 'preserve tags' list, but as we know, that feature currently is broken...

edit2:
It see that 'preserve tags' does work for 'display artist', but you need to enter it as DISPLAYARTIST.
Is there a particular reason why you are using capitals in the script?

edit3:
I'm gonna test some more before adding more comments to this thread.
'preserving' seems to work for some albums, but not for some others? Weird. (but it could be an id3/vorbis thing)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 09:38:51 AM
edit2:
It see that 'preserve tags' does work for 'display artist', but you need to enter it as DISPLAYARTIST.

Scratch that, that's not the case.

This is what seems to happen:
After a first run, for flac files Picard will show a populated 'display artist' (lower case!?) and leave it intact. (irrespective of it being present in the 'preserve' field).
But it will also add a second 'DISPLAY ARTIST' tag that will contain all artists.

For every next run it will do the same: present an empty 'DISPLAY ARTIST' and offer to populate it, and add artists to 'display artist'.

So it would probably be better to use lower case in the script?

'Preserve tags' doesn't seem to work at all for 'display artist'. But that will hopefully be fixed after 2.0.3.


(I have raised this in the Picard 2.x thread 'over there')
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 02, 2018, 02:21:04 PM
The script is definitely designed for mp3s so may need some tweaking for FLAC. If you don't want it to set Display Artist, though, you can just remove that part of the script.

Edit: I think I understand better now, just waking up, sorry. What happens if you don't do any preserve tags but just change the script to display artist instead of DISPLAY ARTIST (probably the same for guest artist).
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 03:17:57 PM
No problem. Even with a fresh mind this can be a confusing matter.
(it is to me at least)

Having 'display artist' populated by the script is just fine and is how I also like it.

The matter of 'preserving' is another one, but I thought it best to leave that alone for now, because:
1.  As we know it is currently kind of broken at the Picard side.
2.  It is mentioned on the settings page it is case-sensitive, so the current vorbis capital/lower-case letter issue that Picard seems to have with vorbis would also make it difficult and very time-consuming to nail-down.

After/if the casing and preserving is fixed and working reliable, I am wondering if I should even use 'preserve' for 'display artist'.
Probably not, because that would prevent it getting updated when it's content in the MusicBrainz database is edited or updated.
So it's probably better to make sure that the script does update it every time.
(but that it doesn't just add artists to it every time you run it ;-)


So you yourself don't use flac at all?
Is there a reason for the script using capital letters?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 02, 2018, 04:19:17 PM
I wouldn't hold your breath on the casing conflicts between Picard and MusicBee, that's been an ongoing issue.  You should be able to use a script in Picard to convert to whatever case MusicBee wants, though.

The reason for the all caps is the same. It might have changed since then, but whenever I wrote the script MusicBee would convert the TXXX tags to ALL CAPS anyway, so I wrote the script that way.  So just change it to what works for your situation and you shouldn't need the "preserve tags" for that anyway. The only catch might be working with different formats. Maybe you could just copy the script and activate/deactivate as needed: "Multiple Artists for MP3" vs "Multiple Artists for FLAC".

On a side note, though, do you know you can add preserve tags by right clicking on them in the main window, now? That will guarantee that capitalization, etc, is correct for Picard.

I gave up on FLAC a while ago. Even with headphones I can't tell much difference above about 256K, so I just rip everything at 320 and call it good.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 04:32:43 PM
I wouldn't hold your breath on the casing conflicts between Picard and MusicBee, that's been an ongoing issue.

I am hoping we can use the momentum of having the attention of the samj dude.
Having him on our side would be nice.

Thanks for all the other good suggestions. Some of them I was aware of, but it's good to be refreshed.

Quote
I gave up on FLAC a while ago. Even with headphones I can't tell much difference above about 256K, so I just rip everything at 320 and call it good.

Haha, maybe I should consider that too.
It would make my audio life a lot easier and I could give the audiophile perfectionist part of my brain a single train ticket to Novosibirsk.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 04:55:12 PM
In case others are reading this thread, have some interest in it, but don't have it clear what's it all about (I know how that feels):
Using this script from psychoadept makes it possible to i.a. make good use of the 'Artists: Artist' field.

For example if you have an album (or a track) where "Rufus and Chaka Khan" is the artist on the cover (the release artist), this plugin makes it possible to have Picard splitting the separate artists, and adding them to the 'Artists: artist' tag frame.

In for example MusicBee's column browser it would look like this:

(https://i.imgur.com/0ghhRct.png)

So now you can not only filter and search for 'Rufus and Chaka Khan', but also for the separate artists.

This is especially useful for releases from artist participations that have the 'album artist' credited differently on different albums.
Such as: 'Rufus & Chaka', 'Rufus with Chaka Khan', 'Rufus featuring Chaka Khan', 'Chaka Khan with Rufus', etc.

update:
I've changed my ways, and am now doing this:
https://getmusicbee.com/forum/index.php?topic=29851.0
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 02, 2018, 06:37:43 PM
@psychoadept,
Picard currently is case-sensitive in relation to the 'preserve tags' option.
I fail to see the advantage of that, and consider raising it there that it might be better to make it case-agnostic.
Before I do that, would you agree, or might that interfere with your setup?
Title: Re: MusicBrainz Picard q & a thread
Post by: frankz on August 03, 2018, 01:18:39 AM
In case others are reading this thread, have some interest in it, but don't have it clear what's it all about (I know how that feels):
Using this script from psychoadept makes it possible to i.a. make good use of the 'Artists: Artist' field.

For example if you have an album (or a track) where "Rufus and Chaka Khan" is the artist on the cover (the release artist), this plugin makes it possible to have Picard splitting the separate artists, and adding them to the 'Artists: artist' tag frame.

In for example MusicBee's column browser it would look like this:

(https://i.imgur.com/0ghhRct.png)

So now you can not only filter and search for Rufus and Chaka Khan, but also for the separate artists.

This is especially useful for releases from artist participations that have the 'album artist' credited differently on different albums.
Such as: 'Rufus & Chaka', 'Rufus with Chaka Khan', 'Rufus featuring Chaka Khan', 'Chaka Khan with Rufus', etc.
That's very useful. I currently do this manually, and it's a real pain in the neck.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 03, 2018, 02:46:37 AM
@psychoadept,
Picard currently is case-sensitive in relation to the 'preserve tags' option.
I fail to see the advantage of that, and consider raising it there that it might be better to make it case-agnostic.
Before I do that, would you agree, or might that interfere with your setup?

No, I'm totally with you on that. Honestly, anybody trying to keep different tags with the same name except for capitalization is rolling some big dice

(I thought I was hitting quote but I guess I hit modify when I tried to reply to this earlier...)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 03, 2018, 08:37:56 AM
No, I'm totally with you on that. Honestly, anybody trying to keep different tags with the same name except for capitalization is rolling some big dice

Great, I'll wait until there is some pulse on the patient again and some running issues have been addressed (I wouldn't want to flood the dude), and will then try to make a case for it. (phun intended)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 03, 2018, 11:48:22 PM
I am trying to get 'involved people' displayed in a MusicBee.
That's not very difficult for mp3 files, but I have a hard time achieving it for flac files.

After running a release through Picard, for mp3 these roles are nicely gathered under a TIPL tag.
E.g.:
TIPL:arranger
TIPL:engineer
TIPL:DJ-mix
TIPL:mix
TIPL:producer

MusicBee will display those just fine when using 'involved people'.
So you can get something like this:

(https://i.imgur.com/obNIFtA.png)

But for flac files MusicBee will display nothing at all under 'involved people'.
That's probably because for flac these roles all get separate tags such as:
ARRANGER
ENGINEER
PRODUCER
MIXER
etc.

Is anybody aware if there might be some Picard script to solve this?

I do have an itch that I am missing an obvious and simple solution, but the coin hasn't dropped yet.
It might be accomplished from within MusicBee by means of e.g. a virtual tag, but that would require creating quite a few custom tags for all these roles, and most of us using MB at this level have probably already run out of those. (I have)

Any ideas or suggestions?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 04, 2018, 01:11:46 AM
I think your best bet would be writing some scripts for Picard to the effect of

$if($eq(_extension,flac),
$copymerge([musicbee tag],role: [Picard tag for that role])
$unset([tag that Picard provides])
)

That's off the top of my head, so might take some fiddling. You'd have to do an additional copymerge and unset for each tag, and you'd have to keep an eye out for others that crop up.  But the result should be something like this in the MusicBee tag:

arranger: Artist 1
engineer: Artist 2
producer: Artist 3
etc
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 04, 2018, 11:06:43 AM
$if($eq(_extension,flac),
$copymerge([musicbee tag],role: [Picard tag for that role])
$unset([tag that Picard provides])
)

That's off the top of my head, so might take some fiddling. You'd have to do an additional copymerge and unset for each tag, and you'd have to keep an eye out for others that crop up.

Thanks.
I think I will sacrifice one custom tag for this purpose.
That will make the script a bit more straightforward, and it won't risk messing up existing and valid tags.

But it's a bit of a struggle to learn the correct syntax for such a script.
Something basic like $if(%producer%,$set(INVO,producer: %producer%),) will work.
(using $copymerge instead of $set doesn't seem to work here)

But now I'll have to find a way to also make it work for engineer, arranger, mixer etc.
That will probably need some more advanced nesting with the use of $copymerge or perhaps $setmulti, but at the moment I can't come up with 'one ring that rules them all'.
Don't feel obligated to jump in and put more time into this. (unless it's fun for you...)
I'll give it some more effort, and I can also turn to the other forum for some extra help.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 05, 2018, 05:08:50 PM
I have a question about the 'Display Artist and Guest Artist' script on the wiki.

Especially about the 'feat.' part.
I could be wrong, but I am under the impression that 'featuring' is not an allowed or acknowledged concept on MusicBrainz?
If so, am I correct to understand that that part of the script will in fact only affect (look at) tags that are already present in your files?
Or does MusicBrainz sometimes supply tags containing 'featuring'?


edit:
I now see it will query 'something' from MusicBrainz.
And it looks like in it's current state the script is not covering all 'featurings'.

Using the strict 'feat.' in the script, for the below example Syd becomes a guest, but Bridget doesn't:


(https://i.imgur.com/HCHAM2A.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 05, 2018, 06:39:43 PM
"Featuring" Is definitely a thing in Musicbrainz!  Maybe you're thinking of the fact that musicbrainz has long since done away with putting featured artists in titles? That's half the reason they invented artist credits, so that things like A feat. B would be credited to both A and B.

For a long time the guideline was to standardize all such credits to "feat.", but that's been changed to "whatever's on the release". However, there's a plugin  that will still standardize it to feat.

I should probably review that part of the instructions to make sure it's still effective.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 05, 2018, 06:41:40 PM
Thnx. Note that I modified my previous post at the same time of you posting.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 05, 2018, 06:49:29 PM
Gotcha. Unless you really care about the exact credit, the easiest solution is probably using the feat. plugin.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 05, 2018, 07:00:23 PM
So that one should then run before your script? I'll give that a shot.
Seeing all these sorts of featurings and guest varieties (guest artist, guest vocals, guest performer, guest engineer, etc) begins to instill some doubts in what it is that I actually want ;-)
(and if all the effort involved will be worthwhile)

update:
The plugin seems to play nice together with your script.
(perhaps add it as a sidenote on the script page on the wiki that that plugin is advised to make the feature feature work in all cases?)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 06, 2018, 03:58:13 PM
Being a bit infatuaded with all these scripting possibilities, I may have overlooked a basic issue that made me turn to scripting for what I am trying to achieve here.

I now understand that in the 'artist' tag you will get exactly what somebody has entered in the MusicBrainz database for release artist.
(one release might say 'featuring', another one 'feat.', another one 'with', etc.)
Solving this by means of a script is admirable, but also a bit complicated and perhaps not even necessary, because:

Besides this 'artist' tag, Picard will also write 'artists' tags.
The 'artists' tags get populated with all artists that were entered as being 'the artist' for that release.

MusicBee will recognize these just fine when you open the tag editor.
But when you use an 'artists' column in MusicBee, these 'artists' will not show up there.

Why would this be?
If this would work, we could probably do without the need for scripting to solve this?

(and please correct me if I am making any wrong assumptions, I'm e.g. still not sure how the concept of 'guest artist' would fit in all of this)

(https://i.imgur.com/o1XQby9.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 06, 2018, 04:50:11 PM
The reason it doesn't show up as Artists in MusicBee is because that's simply a list of everything in TPE1. You'd have to configure Musicbrainz TXXX/Artists as a custom tag.

I'll still have to take a closer look at the Guest Artist script, but if I recall it works by just removing whatever value is before "feat." from the artists list and assigning the rest to Guest Artist.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 06, 2018, 06:02:28 PM
The reason it doesn't show up as Artists in MusicBee is because that's simply a list of everything in TPE1

Ah thanks, so artists shows every artist but not the artists.
(I'm not gonna touch this subject when explaining tagging to friends and family ;-)
 
Per your suggestion I might decide to go the road of sacrificing one custom tag for this.
With that one, together with a virtual tag such as: <Artist>;$IsNull(<artist custom>,,<artist custom>)", I think I will be covered.
(A quick test shows that it seems to work, but I'll probably need to run some more releases through Picard before I'm confident enough)

If it does work, I'll prefer it over a script. For me: the less Picard plugins and scripts needed, the better.
It's more straightforward, and probably more robust too.

Just the: "$setmulti(guest artist,$replace(%artists%,%artist%; ,))" part alone has accelerated grey hairs conquering terrain.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 07, 2018, 08:40:59 AM
I think I have the reached the perfect solution and can write up the epilogue:

My goal was to have an 'artist' column in the column browser that displays all artists. (every person under 'displayed artist, artist, artists)
The script works fine in most cases, but in the 'Artist' column, also all performers (musicians) will be displayed.
And that's not what I want for that column.
(It's not the script's 'fault', but it's because of the way MusicBee manages 'Artist' in the column browser)

To solve that by trying to change the script doesn't seem a viable option to me, and it would almost certainly have some other unwanted or unexpected consequences.

Now the solution for me is:
Create a custom tag called 'Artists', populate all boxes with 'ARTISTS'.
(as a display name under Tags (1) you'll have to choose something slightly different, e.g. 'Artists (c)')
Then create a virtual tag called (something like) 'Artists (v)'.

Code
<Artist>;$IsNull(<Artists [c]>,,<Artists [c]>);$IsNull(<Artists: Artist>,,<Artists: Artist>)
Set 'Artists (v)' as a column, and that will do exactly what I was aiming for, without the need for any plugins or scripts.

edit:
Anytime soon, creating a custom or virtual tag with the name 'Artist' will not be allowed by MB anymore. So if you still want to use this formula you'll have to change it's name to something else.


update:
I've changed my ways. This is how I do it now, it catches and covers all credited artists much better:
https://getmusicbee.com/forum/index.php?topic=29851.0
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 07, 2018, 09:11:33 PM
Now that I seem to have found a way to gather all 'artists', another thing I hoped to achieve with the help of Picard was being able to retrieve and filter all 'producers' in MusicBee.
With 'producers', in this context I mean the people having an influence on 'the sound' of a track or an album (and sometimes even an artist).

MusicBrainz has a plethora of descriptions and refinements for such roles.
Those being: engineer, assistant engineer, producer, additional producer, mixer, remixer, etc. etc.
One of the problems is that at this moment Picard will not retrieve the more detailed roles.

So transfering all persons involved in 'producing the sound' from MusicBrainz to MusicBee is:
- currently not possible
- time-consuming, and will require many improvements on both Picard and MusicBee
- not worth all the effort (my opinion)

So I looked for a quick and dirty solution, and I believe I found one.

I created a simple Picard script, and one MusicBee custom tag.

Script:
$setmulti(PRODENGMIX,$if(%engineer%,%engineer%;,)$if(%producer%,%producer%;,)$if(%mixer%,%mixer%;,)$if(%djmixer%,%djmixer%;,)$if(%remixer%,%remixer%;,),;))

Custom tag:
identifier: Producer/Engineer/Mixer
id3, vorbis, etc.: PRODENGMIX

Having these set, after running a release through Picard, MusicBee will have this custom tag populated containing all persons that Picard has retrieved having roles credited as:

engineer
producer
mixer
djmixer
remixer

As I said, it's a rough and imperfect solution.
By just looking at the column you won't be able to dissect the exact roles of the persons, and due to the current imperfections of Picard, roles that are defined in more detail at MusicBrainz, such as 'assistant engineer' and 'assistant producer' won't even show up at all at this moment.

But for now, I find this very useful.

I am interested in other forum members having other solutions or ideas about the general thought behind this, and invite any member to shoot holes in both the idea and the workings of the script.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 11, 2018, 03:35:10 PM
MusicBrainz provides several types of MBIDs (MusicBrainz Identifiers)
It can be useful to have these available in MusicBee so you can e.g. create shortcuts to the related MusicBrainz website pages.
But to do that, you would need to setup a custom tag for each MBID, and since MusicBee currently has a limited number of 16 custom tags, most of us won't have enough freely available.

To circumvent this problem, I created a Picard script that will populate one custom tag which will contain all available MBIDs.
(that is, all that I am aware of, and find useful)
After that you can create one virtual tag for every MBID you would like to have available in MusicBee.
(assuming you still have enough of those available)

The script to setup in Picard is:
$set(MUSICBRAINZIDS,TRACK_%musicbrainz_trackid%_ART_%musicbrainz_artistid%_REC_%musicbrainz_recordingid%_REL_%musicbrainz_albumid%_RELART_%musicbrainz_albumartistid%_RELGRP_%musicbrainz_releasegroupid%_WORK_%musicbrainz_workid%)

The custom tag to setup in MusicBee is:
identifier:  MusicBrainz IDs
tag code:  MUSICBRAINZIDS

The virtual tags would be:

MusicBrainz Track Id                   $Split(<MusicBrainz IDs>,"_",2)
MusicBrainz Artist Id                   $Split(<MusicBrainz IDs>,"_",4)
MusicBrainz Recording Id           $Split(<MusicBrainz IDs>,"_",6)
MusicBrainz Release Id               $Split(<MusicBrainz IDs>,"_",8)
MusicBrainz Release Artist Id     $Split(<MusicBrainz IDs>,"_",10)
MusicBrainz Release Group Id     $Split(<MusicBrainz IDs>,"_",12)
MusicBrainz Work Id                     $Split(<MusicBrainz IDs>,"_",14)

You can then configure custom weblinks for the track details panel:

MusicBrainz Track Id                   https://musicbrainz.org/search *)
MusicBrainz Artist Id                   https://musicbrainz.org/artist/<MusicBrainz Artist Id>
MusicBrainz Recording Id           https://musicbrainz.org/recording/<MusicBrainz Recording Id>
MusicBrainz Release Id               https://musicbrainz.org/release/<MusicBrainz Release Id>
MusicBrainz Release Artist Id     https://musicbrainz.org/artist/<MusicBrainz Release Artist Id>
MusicBrainz Release Group Id    https://musicbrainz.org/release-group/<MusicBrainz Release Group Id>
MusicBrainz Work Id                     https://musicbrainz.org/work/<MusicBrainz Work Id>


*)
This one is problematic, I couldn't get a direct link working, so this one opens the search page. There you could paste the Track Id. (e.g. copied from the tag editor)
If somebody knows a solution to create a direct link for it, please let me know.

*) edit:
A direct link to the track details seems not possible, but a rather quick alternative to get to the track details is by using the Recording Id shortcut, and then click on any of the numbers in the '#' column on the far left. That will bring the track and all it's details directly in focus.
(and will save you one weblink slot in MusicBee's details panel)

—  —  —

Update:
 
I posted a revised and updated version of this post in Tips & Tricks:
https://getmusicbee.com/forum/index.php?topic=36210.msg198290#msg198290
 
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on August 11, 2018, 05:38:35 PM
That's great! It should probably be its own guide page.

The thing about Track ID is that it's only meaningful in the context of a release. You can't get a link because there's no such thing as a track page. Recording ID will get you the individual recording and Release ID will get you the release.  Track just refers to the details of that recording on the release (specific variations in artist credit, title, etc). You'll notice that track is also not on the list of things you can search for.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 11, 2018, 05:55:42 PM
That's great! It should probably be its own guide page.

Thanks, if you'd like it on the wiki feel free to copy/edit/prune/use it just as you please.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 12, 2018, 09:50:37 AM
The thing about Track ID is that it's only meaningful in the context of a release.

That's true, but what I like about Track Id is that if you use it as a search (paste the code into the 'MBID:' search field) it brings you directly to the track with an overview of all recording details of that track.
If you use the 'Recording Id' shortcut, you will first land at a page showing all releases containing that recording, and after you clicked one, you'll have to navigate to find the track in that release. That's two extra steps I could do without ;-)

Do you perhaps know a way to achieve this?


edit:
I learned that you can reach the track details with using just one extra click.
Use the Recording Id shortcut, and then click any number under the '#' column on the left.
That will bring you to the track, highlighted and all, no scrolling necessary.
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on January 18, 2019, 05:26:43 PM
New Picard is out, lots of fixes and stuff.  https://picard.musicbrainz.org/changelog/

I recently learned that I can sort/filter my library by composers which is real handy with picard tags, I can't get musicbee to read the tag for WORK in most cases, some of my files can do it but most of them can't. Musicbee can find and sort by workID without problems but not the actual name of the works..

Looks like it can find the work tags if the files are .m4a but not mp3, it can see them in the tag inspector though as TXXX/Work but if i enter that into the new custom tag thing for id3 it just will save it as "Work"

(https://i.imgur.com/zbzHjbI.png)
(https://i.imgur.com/eDtGYaR.png)

Anyone got this to work?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on January 18, 2019, 09:55:57 PM
Anyone got this to work?

Could it be you are using a very old MusicBee version?
Nowadays it has 'Work' available by default and you shouldn't (need to) create a custom tag for it.
(and it reads TXXX/Work)
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on January 18, 2019, 10:37:48 PM
I have 3.2.6827, looks like I was one version behind. Updating didn't change anything but thanks for reminding me.

Wait, you can see the work tag and use it beyond the tag inspector? Where does it show up? Can you sort and group by the work names?

(https://i.imgur.com/M2lq4hb.png)
This is is what I got, I want to see work there basically. it shows up via custom tags but only for m4a files.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on January 18, 2019, 10:51:44 PM
Wait, you can see the work tag and use it beyond the tag inspector? Where does it show up? Can you sort and group by the work names?

I do see it at track details:

(https://i.imgur.com/yIJyM9K.png)

It might be unavailable at other locations though.
But the fact that you have an additional custom tag for it while it is an existing tag already is a bit weird. (and shouldn't even be possible to do for as far I know)

P.S.
It should show in the tag editor also:

(https://i.imgur.com/db21Mx0.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on January 19, 2019, 07:38:20 PM
Oh man, I just found that tiny ^ thing next to the Track Title thing... never ever figured that was clickable... :-[
Why can't that be shown all the time or at least show it on the other tab instead? Or how can we make it stay open? It's a bit confusing..

Ok, so my situation is reversed. I can see the TXXX/Work tag if I click that thing but it won't read the work tag for m4a files unless you make the custom tag I made. I dont have many of those so that's not that problematic but still worth pointing out.

The real issue still stands, I can't get the "thumbnail browser" or the "left main panel" thing to sort my music by works unless they are m4a files as shown in the last image I posted. Or maybe I can but I have to use virtual tags? Maybe I can combine the two work tags to one virtual tag?

Thanks for the help so far by the way! :)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on January 20, 2019, 08:25:03 AM
The real issue still stands, I can't get the "thumbnail browser" or the "left main panel" thing to sort my music by works unless they are m4a files as shown in the last image I posted. Or maybe I can but I have to use virtual tags? Maybe I can combine the two work tags to one virtual tag?

I don't use m4a files myself, but doing a quick test, I think Picard writes @wrk for work, and MusicBee recognizes that just fine for me.
If Picard doesn't write @wrk for you, that's probably something to investigate.
(e.g. maybe 'Use release relationships' and 'Use track relationships' are not checked?)

In MusicBee, indeed Work doesn't seem available by default for the thumbnail browser.
So you could either make a wish for that, or as you suggested yourself, create a virtual tag for it.
This should work:
Label it something else than "Work", e.g. something like "Work (v)", and use this as formula: $IsNull(<Work>,,<Work>)
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 05, 2019, 06:50:04 PM
The reason it doesn't show up as Artists in MusicBee is because that's simply a list of everything in TPE1. You'd have to configure Musicbrainz TXXX/Artists as a custom tag.

Is this still the case with MusicBee? My mp3s are pristinely tagged from Picard with the artists tag fully populated with featured artists. I was hoping MB would natively support this tag by now and dont really want to go back and change my tagging regime
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 06, 2019, 12:32:38 AM
Yes, it's a non-standard tag. I suppose you could make a wish list request for some kind of support, but you can still just configure it yourself.

You might be interested in the scripts I've written to import guest artists and display artists for MusicBee with Picard.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 06, 2019, 12:09:51 PM
Im trying to minimise or better still prevent tagging any new fields save from what Picard writes for me.
FYI im scripted up to the max in Picard so my mp3s are pristine to my own internal (psychopathic) standard
I basically just want to see ARTISTS in the left hand navigator list of musicbee

Ok so i guess a custom tag is my best bet. I tried to map TXXX/ARTISTS and it proved difficult. I cant seem to get it to work
What have you got in "New Custom Tag Definition" for TXXX/ARTISTS?

Thx
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 06, 2019, 01:30:30 PM
Ok so i guess a custom tag is my best bet. I tried to map TXXX/ARTISTS and it proved difficult. I cant seem to get it to work
What have you got in "New Custom Tag Definition" for TXXX/ARTISTS?

I don't use Artists because my script writes to the built-in Guest Artist tag instead. But according to this page (https://picard.musicbrainz.org/docs/mappings/) it should just be "Artists" in all the columns. Then you'll have to link it to a custom tag in Tags (1), and then it will have to take time to scan everything.

Another option you could consider would be using the Additional Tagging and Reporting Tools plugin to move tags from Artists to Guest Artists. That could at least do it in one go for you (with appropriate testing first). You'll still need the Artists tag set up first.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 06, 2019, 08:25:36 PM
Ok so leaving the ArtistS tag aside...

What is the benefit in using Guest Artist over tagging Artist with multiple values?

I just ran your script on a test album in picard and sure enough it works to give a single Artist and a list of contributors in Guest Artist

But i cant actually see what Guest Artist is used for in Musicbee over a list just in Artist


I guess i was hoping if i switched the thumbnail viewer to Artist: Guest that clicking on any contributing artist would load their details in Artist Biography/Artist Pictures but it doesnt. Just loads the album artists biography etc.

Hope that all made sense...
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 06, 2019, 10:52:14 PM
Well, the guest artist tag by itself doesn't do anything. But there are official Id3 tags for Artist and Remixer and Performer, so if you wanted to keep guest artists from cluttering up those tags it will do that. Or if you want to search for cases where someone is a guest artist instead of primary artist, it lets you do that. You could just put them all in artist, of course. If you're syncing to a phone or something, that could have undesirable results
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 07, 2019, 12:12:07 PM
Ok i understand now thanks. I'm trying to find a happy medium for my mp3's that are played on different devices/software. For example i use Asset UPNP or Minimserver as my DLNA music server on my NAS. Asset doesnt recognise ArtistS so you have to put all featured artists as a multi-value list in Artist. Conversely, MusicBee which i use on my laptop can deal with a single entry in Artist and featured artists in for example Guest Artist. I dont want to be running with two libraries tagged differently for different devices so trying to find a happy medium.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 08, 2019, 08:16:46 PM
Ok after a little experimentation i believe i've found the sweet spot but i have a problem.

I'm using MusicBrainz to copy ArtistS to Artist. For tracks with featured artists this will appear in Artist as a typical multi-value list artist1; artist2 etc
The album artist is typically identical to artist1
Since i want the "main artist" aka artist1 to appear in MusicBee's "Aritst" column/thumbnail browser rather than a comma delimited list i have used the script $set(Display Artist,$rreplace(%artist%,; .*,)) to take the first artist from Artist

Take this example from Catatonia's Greatest Hits album:
Every track has "Catatonia" as the Album Artist
23 of the 25 tracks are purely Catatonia, no featured artists
2 tracks are credited to other artists as the main artist and Cerys/Catatonia are the Featured artist (why not throw these onto a greatest hits album?)
E.g.

Title: The Ballad of Tom Jones (Featuring Cerys Matthews)
Artist: Space; Cerys Matthews
Album Artist: Catatonia
Display Artist: Space


In Musicbee it doesnt like this. In the main column browser Space is displayed correctly as the Artist however in the thumbnail browser it appears as "Space; Cerys Matthews"

Looking into the file tag splitter "Space" is indeed the Display artist but Musicbee has not split out "Space; Cerys Matthews" as two artist rows - they both appear on the same row and only a manual alteration can fix it

As far as i can tell this is a bug

Any chance you could try the same on a test mp3 to confirm please?

EDIT forgot to mention when i click on the entry "Space; Cerys Matthews" in the thumbnail browser no tracks are listed at all
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 08, 2019, 08:29:18 PM
I think the problem you mention at the end has been corrected in the latest patch (see my sig).

But the main thing that's going on is that the $set script in Picard writes a single string rather than a multi value tag. You need to use $setmulti to write to the Artist tag in Picard. Then MusicBee should handle it fine. If that still doesn't do the trick, I'll take a look at one of the files and see what I can do.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 08, 2019, 08:33:56 PM
I'll look into that patch for sure.

Yes im aware of $setmulti i use that in other scripts. Since i only want Display Artist to be one value i use just $set
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 08, 2019, 08:39:43 PM
Yeah, but how are you moving Artists to Artist?
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 08, 2019, 08:42:42 PM
$setmulti(artist,%artists%)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 08, 2019, 08:44:16 PM
Hmm. Seems like that should work. What happens if you use $copy(artist, artists)?
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 09, 2019, 12:44:09 PM
thats ok i upgraded both MusicBee and Picard to latest versions and the problem has cleared up. Weird mind

Thanks for your help again
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 13, 2019, 11:46:51 AM
@psychoadept sorry i had another question re: your musicbrainz scripts

As above i am setting my Artist tag to mirror ArtistS. I need it this way so Asset UPNP recognises featured artists

I am toying with using the Guest Artist tag for MusicBee filtering/sorting purposes but your line $setmulti(GUEST ARTIST,$replace(%artists%,%artist%; ,)) won't work for me

I need to somehow extract all artists AFTER the first in my ArtistS or Artist tag but i dont have the skill... or even know if it's possible. Do you know how to do this?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 13, 2019, 02:49:40 PM
I'm not sure I understand what you're asking for. That script will remove the first value from the Artists tag before setting Guest Artist.

No, sorry, I see the problem. Probably you need $rreplace to get rid of everything up to and including the first semi colon. It shouldn't be too complicated but I don't have time to work through the regex right now.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 13, 2019, 04:25:40 PM
By pure dumb luck and scratching together bits from the internet i think this is working $set(Guest Artist,$rreplace(%artists%,^[^;]*;,))

Results look good so far but i'll feed when i know its working correctly

EDIT i spoke to soon. For tracks without a featured artist i.e. a single artist it just takes that artist when i want it to return blank :( back to the drawing board
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 13, 2019, 04:41:02 PM
By pure dumb luck and scratching together bits from the internet i think this is working $set(Guest Artist,$rreplace(%artists%,^[^;]*;,))

Results look good so far but i'll feed when i know its working correctly

EDIT i spoke to soon. For tracks without a featured artist i.e. a single artist it just takes that artist when i want it to return blank :( back to the drawing board

Sounds like you need to search for 0 or more semicolons
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 13, 2019, 04:46:23 PM
Tried a bunch of regular expressions off the internet but failed. My brain is fried. Might have to post this up on some regex forum as i know zero about regex
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 14, 2019, 01:25:55 AM
I've found this site really helpful for regex: https://regexr.com/
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 14, 2019, 08:40:46 AM
Ok so i guess a custom tag is my best bet. I tried to map TXXX/ARTISTS and it proved difficult. I cant seem to get it to work
What have you got in "New Custom Tag Definition" for TXXX/ARTISTS?

Just in case you or somebody else wants to add 'Artists' as a custom tag to MusicBee, be sure to name that custom tag something else then 'Artists'.

Even though MusicBee will allow you to name it like that, it might conflict or bring confusion at some places where MusicBee does already use 'Artists' for another purpose.
(you can e.g. already select it for virtual formulas, or have it displayed in track detail view)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on October 14, 2019, 09:00:22 AM
Ok so i guess a custom tag is my best bet. I tried to map TXXX/ARTISTS and it proved difficult. I cant seem to get it to work
What have you got in "New Custom Tag Definition" for TXXX/ARTISTS?

Just in case you or somebody else wants to add 'Artists' as a custom tag to MusicBee, be sure to name that custom tag something else then 'Artists'.

Even though MusicBee will allow you to name it like that, it might conflict or bring confusion at some places where MusicBee does already use 'Artists' for another purpose.
(you can e.g. already select it for virtual formulas, or have it displayed in track detail view)

That's a good point. Artists in MusicBee is a virtual tag that acts very similar to Artists in Picard, giving an unformatted list of values in the various artist-related tags.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 14, 2019, 12:46:12 PM
Ok so together with the guys over on the musicbrainz forum i was able to make this script to extract all artists after the 1st (main artist) and copy into Guest Artists

$setmulti(GUEST ARTIST,$rreplace(%artists%,^[^;]*;,))
$if($eq($get(GUEST ARTIST),%artist%),$set(GUEST ARTIST,),)


However in my setup there is another problem. Since i'm already entering multiple artists in Artist (for Asset UPNP) the script above effectively makes artists appear as both an Artist and Guest Artist in the multiple artist splitter.

e.g.

display artist:
Ludacris

artists:
Ludacris   - Artist
Chingy     - Artist
I-20         - Artist
Tity Boi    - Artist
Chingy     - Guest Artist
I-20         - Guest Artist
Tity Boi    - Guest Artist

MusicBee doesnt seem to like this as when i set my thumbnail browser to Artist: Guest and go to any of these guest artists no tracks can be found

Strangely enough though.... some tracks with less guest artists show up fine under the respective guest artist of the thumbnail browser. Weird

I checked tag inspector for the oddball files and all seems fine. Multiple line items for TXXX\Guest Artist as expected

Is there some something in the backend that changes MusicBee's behaviour if the number of artists in Multiple Artist Splitter is greater than X?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 14, 2019, 12:49:37 PM
I didn't read everything in detail, so I am not suggesting at all that this is the solution to what you are trying to achieve here, and I may very well miss the actual point completely, but this thought came up and I thought to share it:

You can force Picard to always write the 'display artist' tag, and have it containing the value as you prefer it:
$set(display artist,{enter the conditions for what you want 'display artist' to get populated with})

MusicBee will then use 'display artist' in some locations (overruling the standard artist/TPE1 tag), and your DLNA applications can still use the standard artist tag.
(it will only show up in displaying-related locations though, not in filtering-related locations)

Maybe this could be a little cogwheel in your scheme and is worth some experimenting?
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 14, 2019, 06:08:11 PM
Thanks hiccup i've already done exactly what you suggested actually. Like Display Artist i was aiming to use Guest Artist for MusicBee only but it seems to clash with having identical multi-value tags in both Artist and Guest Artist.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 14, 2019, 06:26:24 PM
Thanks hiccup i've already done exactly what you suggested actually.

Great.
It's probably me, but I must say I have some difficulty with the rather vague and ambiguous concept of 'guest' to begin with.
Therefor I myself would be very hesitant to give it any role of importance in my scripting and scheme.
Title: Re: MusicBrainz Picard q & a thread
Post by: sadsack5000 on October 14, 2019, 07:24:53 PM
@psychoadept the patch in your signature solved my issue in post #113. Latest official version 3.3.7165 has this as a bug

But all good now, display artist sorted, guest artist sorted, artists sorted. Nice and crisp mp3's  8)
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on April 24, 2020, 03:10:35 PM
I wish musicbee could read the recording tags from picard, i just discovered acousticbrainz (https://acousticbrainz.org/) and i want to map the url stuff so i can check track i have tagged. :-\

https://picard.musicbrainz.org/docs/mappings/

https://community.metabrainz.org/t/why-does-picard-not-save-recording-id-to-tags-even-though-it-implies-that-it-does/361805/2
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on April 24, 2020, 03:44:10 PM
I wish musicbee could read the recording tags from picard,

It should already work for flac. For mp3 have you already tried the script as suggested by somebody in that thread?:

$copy(_id3:TXXX:MUSICBRAINZ TRACK ID,musicbrainz_recordingid)
Title: Re: MusicBrainz Picard q & a thread
Post by: Forcen on April 24, 2020, 04:46:10 PM
I tried adding the script now but do i have to run it manually? It's not really clear when it runs, when I save?

Also this script seems to make it so that tracks i tagged previously don't get detected automatically.

I'm trying to wrangle all the tag stuff but i can't get it to work, I will get back to it.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on April 24, 2020, 05:03:51 PM
I tried adding the script now but do i have to run it manually? It's not really clear when it runs, when I save?

Scripts for which you have the checkbox checked will be applied automatically when you load (or refresh) recordings.
(You can also manually run them by using right-click)

Quote
Also this script seems to make it so that tracks i tagged previously don't get detected automatically.

That would be weird?
Title: Re: MusicBrainz Picard q & a thread
Post by: alec.tron on May 21, 2020, 04:26:00 PM
i just discovered acousticbrainz (https://acousticbrainz.org/)

Neato... still hoping that one day, there'll be some way to cross-reference Discogs ID with a MBID, either via MusicBrainz, or Discogs...
c.
Title: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: bogie on July 17, 2020, 12:57:40 AM
Hi Hiccup,

I just discovered MusicBee today and also this forum.  I have a general question perhaps you can help me.

I currently use iTunes (with PC) and have probably over 30,000 albums (I actually don't know how many, mostly complete operas, many classical singer albums, some symphonies and some pops etc.).  With iTunes, I organized my horde with Genre (let's say, opera), then with Title (Wagner: Tristan & Isolde), then Artist (B.Nilsson, W.Windgassen).  But since I have many Tristan recordings, and several with these two principal singers, I have to play tricks by adding additional names to the artist column to distinguish one album to another.  Then within each album, I have either one track per act (the track title might say Act 3), or one track per pre-defined CD track (for example Act 3: (aria) Liebestod (Isolde)).

My 1st question to you is, with your article on using Picard with MusicBee, can I organize my MusicBee so that eventually I can click on W and all composers under W will appear, then I can click Wagner and all his works will appear, opera or otherwise, then I can click on Tristan and I will see a list of all the full length opera I have on this, and also various aria albums that might contain a track on Tristan.

If the answer to the 1st question is YES, is how do I import my iTunes album information into MusicBee so that I can achieve this?

I have been trying to find a replacement to iTunes, and I hope MusicBee with Picard is the answer.  Thanks in advance, and I hope this is the right way to ask question.
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: hiccup on July 18, 2020, 08:59:13 AM
Hi Hiccup,
I just discovered MusicBee today and also this forum.  I have a general question perhaps you can help me.

Welcome to the forum bogie.

The answer to 'can it be done so that...' is yes.
Depending on how savvy with computers you are, it will take time to master Picard and it's scripting, and you probably will get frustrated in the beginning once in a while.
But at the end it is absolutely worth it.

I cannot help you with Apple related stuff, but there is a lot of info on that to be found on the forum.

Also, understand that you are currently in the Tips and Tricks board.
For questions, there's 'Questions' ;-)

(Tip: when searching the MusicBee forum, use google, not the build-in forum search)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on August 18, 2020, 04:14:14 PM
For those using Picard, but perhaps not following it's development that much:

Picard 2.4.2 was released today.
There have been substantial improvements, so I would suggest considering updating…
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on October 18, 2020, 04:39:35 AM
Just a question about the 2.4.4 download options:

If you use 7-zip to extract the contents of the version labelled "portable", MusicBrainz-Picard-2.4.4.exe, you end with a bunch of installer-type compressed files;  if you extract the contents of the one labelled "installer", picard-setup-2.4.4.exe, you end up with exactly with what you'd expect to see from a PORTABLE version, i.e., all the actual program files/folders.  Are these two packages actually misnamed, or am I missing something?  At this time of night, the latter is a distinct possibility.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 18, 2020, 08:32:43 AM
Just a question about the 2.4.4 download options:

If you use 7-zip to extract the contents of the version labelled "portable", MusicBrainz-Picard-2.4.4.exe, you end with a bunch of installer-type compressed files; ...

That's strange; when I download it I always get a single .exe file.
You then create a Picard folder where you want it, copy the file there, and run it. It will then create an additional folder that contains .ini and plugins etc.

Did you dl it from here?:
https://picard.musicbrainz.org/downloads/
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on October 18, 2020, 06:54:51 PM
Yes, from there.  The download itself is a single exe, but since it's referred to as "portable", my experience with other portable apps is that those offered as an exe download instead of a zip are a self-extracting package of all the files, already "made."  So I normally opt to extract those myself using 7-zip to avoid any possible "payloads" or just to take a look at the contents.  But in this case I ended up with the contents below, normally signature of an installer package:
(https://i.imgur.com/hqn6J0O.png)

So I guess in this case, it's an "installer" in the case of it needing to be run to create what it needs, but it creates everything only within the folder that you made for the downloaded exe, which makes it actually "portable."  That's cool with me!!

What I had done when I first encountered this was just go for the PortableApps version.  And found that one isn't 100% "portable" as when run it creates a folder "network" in users/username/AppDate/local/cache with about 8 subfolders.  Just an observation.

Thanks hiccup.  BTW, this is quite an app, bound to keep me busy for a while!  I'm a "late arrival."
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 18, 2020, 07:17:38 PM
Yes, from there.  The download itself is a single exe, but since it's referred to as "portable", my experience with other portable apps is that those offered as an exe download instead of a zip are a self-extracting package of all the files, already "made."

I understand.
But I am using winrar, and while for some .exe files it will sometimes also present an 'extract' option in the context menu, for this one it doesn't. So I was never tempted to unpackage it.

Also the portable edition has not been around for long. It took some begging and persuading to the programmers to create one.
So it may indeed work slightly different then other portable programs, and it does create some files on the system drive.
I believe I raised the latter on their forum a while back, and they explained why that happens, and why it shouldn't be a problem.

Since I am very happy they now have a great working portable version to begin with, I am not complaining anymore ;-)


Quote
BTW, this is quite an app, bound to keep me busy for a while!  I'm a "late arrival."

If you are like me, you may get (very) frustrated with it in the beginning because it does pretty much everything differently than other tagging software.

Don't give up, I am convinced the effort is really worth it.
And you have the benefit that since this year there is a great online tutorial to be found:
https://picard-docs.musicbrainz.org/en/introduction.html

good luck
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on October 18, 2020, 10:15:16 PM
Thanks hiccup for the pointer to the excellent online manual, I'm gonna need it!!
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 22, 2020, 06:12:30 PM
To those interested, Picard 2.5 has been released:

https://blog.metabrainz.org/2020/10/22/picard-2-5-release/
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on October 22, 2020, 08:08:12 PM
To those interested, Picard 2.5 has been released:

https://blog.metabrainz.org/2020/10/22/picard-2-5-release/


Thanks, just grabbed the Portable version!  In reference to my last post about being confused on how the portable worked, here is what happens for those interested:

1.  Place the file as downloaded (MusicBrainz-Picard-2.5.exe) into a folder of your choice

2.  Running the exe then creates a subfolder "MusicBrainz-Picard", and inside that an ini file and two more folders for cache and plugins

Every time you actually run the exe, it creates a folder in the Users/username/AppData/Local/Temp folder of the PC that contains all the other 90+ components it needs to operate;  when you exit the app, that folder is completely removed automatically.

A very unusual implementation of "portable", but one that works, and does NOT create the external "network" folder that the "PortableApps" version does.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on November 15, 2020, 07:58:34 PM
MusicBrainz' Picard 2.5.2 was released.

https://blog.metabrainz.org/2020/11/15/picard-2-5-2-released/
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 02:49:38 PM
Does MB have a link to MusicBrainz Picard to create the tags, or do I have to do the tagging manually?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 02:54:48 PM
MusicBee uses MusicBrainz for its CD lookup and auto tag by album features. Picard is a separate program that can do more advanced and customized tagging from MusicBrainz.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 03:12:38 PM
Thanks, that's what I thought but it doesn't work. I had to reinstall my OS a couple of weeks ago and my installation of both MB and MB-P got lost, so I reinstalled MB, noticed that autotag didn't work. I then realized what had happened and downloaded and installed MB-P, but the connection still seems to be broken.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 03:19:39 PM
There is no such connection. If auto-tag isn't working maybe you need to whitelist MusicBee in your firewall. It has nothing to do with having Picard installed.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 04:41:23 PM
I noticed that when I rip a CD, the tags are frequently wrong. I checked the firewall settings and MusicBee was not included, so I changed that, restarted MB, and ripped the same CD again and the tags were still wrong. All the tracks are labeled "2016.flac", the artist is the composer, and the album is blank.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 04:58:13 PM
You said auto tag isn't working, that's different from cd lookup. I thought you meant you weren't getting results in auto-tag by album.

Can you give an example of a cd that gets incorrect results? What happens if you manually set album and album artist, then use auto tag after ripping it?
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 05:05:40 PM
I was still editing my response when you responded. Is cd lookup what happens when I rip a cd? That's what I was doing just now. I haven't tried your suggestion, so I will now.

I had previously checked several of my tracks which were already tagged (usually by iTunes, since they were imported from my iTunes library), and often the tags were completely wrong.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 05:10:29 PM
Again, a specific example would be really helpful. What is an album that MusicBee finds incorrect tags for? And is it when you're ripping, or looking for tags on already ripped tracks?
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 05:22:11 PM
I'll have to get back to you  (I have to go to a Zoom meeting), but it's looking for tags on the just ripped tracks. The CD set I just ripped is Andre Previn conducts Vaughan Williams, a 6 CD set. RCA/Sony
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 05:32:41 PM
Is it this one? https://beta.musicbrainz.org/release/3ea8c72c-cf82-48ae-9de0-cae8dabc2cb0
Or maybe this one? https://beta.musicbrainz.org/release/9ab63aeb-d6dd-44c2-94ff-f2095ac51fee

Classical is a challenge, though. You're definitely better off using Picard for that, so you can just point it to the release you want. Case in point, the two above are actually the same 6-cd set, just with different packaging and title. The two CDs I checked were also released separately at some point, and only later combined into the larger collection.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 05:45:55 PM
How do you use Picard (stand alone)? Do you have it read the disc? If so, where to the tags go?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 05:52:20 PM
Picard has some really good documentation here: https://picard-docs.musicbrainz.org/en/index.html

You can look up by disc id (if the CD is in the drive), or use "lookup" to search by tags, or "scan" to search by acoustid (audio fingerprint). If you still don't get the results you want, you can use lookup in browser to search the database in your browser, which should let you use the green Tagger button to open the release in Picard when you find it. Or as a last resort you can copy & paste the URL in the search box in Picard.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on November 30, 2020, 06:49:58 PM
One of the options was to put in the barcode, which I did and it could not be found.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on November 30, 2020, 06:52:37 PM
One of the options was to put in the barcode, which I did and it could not be found.

Well, that depends on the barcode being in the system already. The barcode on the release that looks most like yours is 888751269521. What's your barcode?
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 01, 2020, 12:55:14 PM
Is it this one? https://beta.musicbrainz.org/release/3ea8c72c-cf82-48ae-9de0-cae8dabc2cb0
Or maybe this one? https://beta.musicbrainz.org/release/9ab63aeb-d6dd-44c2-94ff-f2095ac51fee

Classical is a challenge, though. You're definitely better off using Picard for that, so you can just point it to the release you want. Case in point, the two above are actually the same 6-cd set, just with different packaging and title. The two CDs I checked were also released separately at some point, and only later combined into the larger collection.
Those both are correct (I don't know what the difference is). I did end up using this, but I had to edit the tags in MB. The usual problem, as in this case, is that the Composer is put in the Artist field. I also tried using Exact Audio Copy (on a different disc), which uses the Music Brainz database, but still errors. EAC has other problems, including being very slow and not putting the file in Flac format, as I had specified.
Also, what is the year of the year tag? It is clearly not the year of the performance!
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 01, 2020, 05:44:21 PM
Those both are correct (I don't know what the difference is). I did end up using this, but I had to edit the tags in MB. The usual problem, as in this case, is that the Composer is put in the Artist field. I also tried using Exact Audio Copy (on a different disc), which uses the Music Brainz database, but still errors. EAC has other problems, including being very slow and not putting the file in Flac format, as I had specified.
Also, what is the year of the year tag? It is clearly not the year of the performance!

Like I said, the difference is pretty much packaging/marketing.

Composer as Artist is a very common convention in tagging classical music, so much that it's written into MusicBrainz' classical style guide (https://wiki.musicbrainz.org/Style/Classical/Track_Artist). If you want to automate a different tagging system for classical, you might be able to do something with Picard and the Classical Extras plugin. Hiccup is more of an expert on tagging classical with Picard than I am.  It's not 100% in line with your needs, but he wrote a tutorial (https://getmusicbee.com/forum/index.php?topic=28999.0).

The year is the year that the specific release you're tagging was published,  so for this set 2003 or 2016. You might be able to find the year of performance by looking at the recordings in MusicBrainz but I don't know of an automatic way to tag it. (This is the same way a compilation CD will have the year the CD was published, not the years the specific tracks were released - although sometimes iTunes will give you the latter, which can be a handy shortcut.)
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: MTVhike on December 01, 2020, 11:43:05 PM
Thank you, Hiccup for doing this. I have a few questions: I did everything you recommend at the beginning, but it's two years later and you have made some changes. I am using Picard 2.5.2.
2 - workflow. I'm a little confused about the workflow. Should I do it from the CD itself, or should I rip the CD into FLAC files and do it with the files?
3 - not a Picard problem specifically, but when I am using a player NOT MusicBee (such as that in my car), how will the Classical tags appear?

Thanks again for your efforts!
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: hiccup on December 02, 2020, 08:46:22 AM
Should I do it from the CD itself, or should I rip the CD into FLAC files and do it with the files?
Picard is used to write metadata (tags) to your files, so these files need to be on a writable medium (usually your harddisk) in a format such as flac or mp3.

Quote
when I am using a player NOT MusicBee (such as that in my car), how will the Classical tags appear?
They probably won't.
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: MTVhike on December 02, 2020, 03:42:09 PM
Hiccup: Progress!, except that in MusicBee I couldn't "Create a custom tag named: Picard title full". I mean I couldn't find how to create the custom tag.
I found a CD which I had previously ripped (twice!). The first rip was several years ago using iTunes, which had pretty good tags, and the second one was a couple of days ago. Because the first one was not FLAC, I decided to re-rip it using Exact Audio Copy. Even though EAC claimed to be able to rip into FLAC, the files ended up as WAV. I loaded the CD, read it into Picard, and put the folder containing the WAV files into Picard. The tags were successfully found and sorted correctly for Classical music. But when I read those files into MB, the tags were not very good. Thinking that problem might have been caused by the WAV format (I know that tagging is a problem with WAV files), I converted them to FLAC using MB and re-loaded them into Picard. Putting the FLAC files into MB was better, but still most tags were missing.
I assume that it was the lack of the custom tag in MB was the problem. Please help me complete that step. tia
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 02, 2020, 06:17:27 PM
I read Hiccup's instructions on how to use Picard, but couldn't understand how to get  the tagging to work with MB. He says "Create a custom tag named: Picard title full"; then put in some scripts (which he lists). Is that done with Edit/Tags(2)/Custom1? I tried that but it didn't work.

Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 02, 2020, 06:52:59 PM
No, you configure custom tags in preferences. There's some info here: https://musicbee.fandom.com/wiki/Custom_Tags

In this case, you would need to use Define New Tags to create it.
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: hiccup on December 02, 2020, 07:33:21 PM
Hiccup: Progress!…
I'm impressed ;-) Tagging and handling classical music is a difficult matter with many complications.

Maybe I will read and respond to your posts in more detail at a later time, but for now I think it's important to make two things clear:

1.
The system I described is a system I have designed and refined over a couple of years, and is tuned to my very personal liking and preferences.
It is not assuming to be a good system for anybody else.
Other 'serious' users of classical music/MusicBee/Picard probably each have their own system that they like better.

2.
Most users that have classical music in their library—but are less obsessive with it—will make use of two specific tags that were introduced a couple of years ago to improve on tagging and handling classical music:
'Work' and 'Movement'.
While I have reasons for deciding not giving them any (important) role in my system and workflow, it will be sensible for most other user to do use them, and maybe it will make things easier or better for you too.

So, do not consider my system to be some holy grail.
It could turn out to be:
- frustrating to replicate and make it work
- not a solution for what you are looking for

(to me it is the holy grail though ;-)
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: MTVhike on December 02, 2020, 10:12:59 PM
I'm just trying how to get the file(s) I tagged with Picard into MB and have MB recognize them. Is there another program which could read the tags already on the file? Sometimes if I load a non-text file into a text editor, certain words appear, but in this case, only the title appeared.
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: hiccup on December 02, 2020, 10:21:59 PM
I'm just trying how to get the file(s) I tagged with Picard into MB and have MB recognize them. Is there another program which could read the tags already on the file? Sometimes if I load a non-text file into a text editor, certain words appear, but in this case, only the title appeared.

There is a reason that this board is titled: Tips & Tricks, with the subtitle: User-to-user advice and tips - no questions please!

Questions specifically related to the start post would be o.k. I guess, but anything else should be posted on the questions board or another board that is relevant and open to questions and discussions.
Title: Re: Re: Managing classical music works using MusicBee and MusicBrainz Picard
Post by: phred on December 03, 2020, 02:25:48 AM
but anything else should be posted on the questions board or another board that is relevant and open to questions and discussions.
I have merged this part of the original thread with this Picard Q&A thread.

@MTVhike- the Tips & Tricks section is for Tips & Tricks with no questions please. As hiccup suggested, either carry on here, or post new questions/issues in the appropriate section. Thanks.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 03:01:25 PM
OK, I put Hiccup's tags into Custom1 (in Preferences/Tags (1)). I changed the name of Custom1 to "Picard title full" and all the scripts into Define New Tags/ Vitural1 through Virtual6. I then saved it and reloaded MB. "Picard title full" appeared as the title of one of the displayed fields, but nothing else. For the one track which I had open at the time, in that field was "Picard title full", followed by one of the scripts. What did I do wrong? I was a little confused by Hiccup's Note about the minuscule tremas ¨ used at the end of the tag names, so I deleted them.

An additional comment: my existing 2000 audio files are in several formats, many from iTunes. They pretty much all have tags, and most are OK, so I don't plan to re-tag those. Except for the MP3 or AAC files from the iTunes, I plan to re-rip them and, of course, re-tag them. In the particular example here, the one file is FLAC. And, the entire CD (album) was tagged correctly by Picard, but the modified tag only appears on the first file.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 04, 2020, 03:20:55 PM
"Picard title full" appeared as the title of one of the displayed fields, but nothing else. For the one track which I had open at the time, in that field was "Picard title full", followed by one of the scripts. What did I do wrong?
Can you post screenshots of these displayed fields?

Quote
I was a little confused by Hiccup's Note about the minuscule tremas ¨ used at the end of the tag names, so I deleted them.

I thought I explained that somewhere in that post, but I'll check, maybe I forgot:
It is purely a personal habit of mine to add them at the end of all my virtual tags.
In that way they are always a (subtle) indicator and reminder to me that the field is a virtual tag.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 03:30:27 PM
Thanks, I was editing my reponse when you posted. Do you mean the main MB page?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 04, 2020, 03:32:12 PM
And to be sure that I understand at what stage you are:

So you have Picard working with the script and the Classical Extras plugin?
If you use MusicBee's Tag inspector on one of the processed songs, do you see the new custom tag that makes 'all this magic' work?

(https://i.imgur.com/LBvNNJz.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 04, 2020, 03:33:50 PM
Thanks, I was editing my reponse when you posted. Do you mean the main MB page?
I mean any panel or field where you see something that is wrong or unexpected.
(it's been a long week, and pictures would make it a bit easier for me)
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 03:37:44 PM
I'm trying to paste a screen shot, but to answer your question, yes, I got Picard to work and tag the 7 files from my CD. And, again, I know there are instructions on how to paste an image, but I haven't found them yet. Can I just put the file (either .png or .jpg) into my reply? And, is the Tag Inspector under Tools/Tagging Tools? I can't find it.
Title: Re: MusicBrainz Picard q & a thread
Post by: phred on December 04, 2020, 03:45:24 PM
I'm trying to paste a screen shot, but to answer your question
You can't paste a screenshot. You need to follow the instructions that appear every time you post a new reply. They're above the edit box.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 04:00:57 PM
https://imgur.com/lXtbEIu]https://imgur.com/lXtbEIu

(https://imgur.com/lXtbEIu)

It didn't work!
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 04:02:14 PM
Nevermind, I guess it did, just had to click on the link in the new post.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 04, 2020, 04:03:03 PM
And, is the Tag Inspector under Tools/Tagging Tools? I can't find it.

Tag Editor, and then:
(https://i.imgur.com/L11ozNk.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 04, 2020, 04:12:54 PM
https://imgur.com/lXtbEIu]https://imgur.com/lXtbEIu

It looks like you made some mistakes in creating the tags.
It should look like this:
(https://i.imgur.com/nzwcFuk.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 04:18:06 PM
What is that image? The tag inspector? If so, I see nothing like that! What I see in the main window is Picard title full; $If   etc, the rest of the script your image shows on the Work(top) line, but non of the other scripts, without the label.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 04:38:24 PM
I was trying to recreate my actions, and when I went to Edit Preferences/Tags/Custom 1, I noticed that under "save to music file as tag", "Save to MusicBee database only", the default, was checked. Is that right?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 04, 2020, 05:19:40 PM
I was trying to recreate my actions, and when I went to Edit Preferences/Tags/Custom 1, I noticed that under "save to music file as tag", "Save to MusicBee database only", the default, was checked. Is that right?

No, you need to create a new tag using Define New Tags. That's The only way Picard and MusicBee can both read and write to it.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 05:32:45 PM
That's what I did. I put "Picard title full" in the display name, then clicked on Define New Tags and put each script in the first seven lines. I did NOT put anything in the first line, labeled identifier id3, etc. Should I have put Picard title full in the identifier space? What would I put in the others?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 04, 2020, 05:41:29 PM
Lines where you put scripts are virtual tags. Those aren't saved to a file, they're dynamically generated need on existing tags.

To define a custom tag, you have to use the top section where you can actually name the tag fields for id3, etc.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 05:44:31 PM
So I should put  "Picard title full" in each of the boxes in the first line. The scripts all go in the virtual tag lines below. I'll try again!
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 04, 2020, 05:46:47 PM
Yeah, when you fill in the first one they should auto-fill for you.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 06:18:28 PM
OK, I did that and they did autofill.

I also realized that I need to put these new tags into the "Set Displayed Fields", which I did. For the Work [full] and Work [adapt], what appears is the script.
For Work [top] and Work [ sub ], there's nothing. This is true for all the music in my library, even the ones which I didn't run through Picard.
And, for Picard title full (the custom tag label), it just says that; and it says that only for the one file I ran through Picard.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 04, 2020, 07:33:46 PM
If you're seeing the script in the main panel, that means there's an error in your script.

For the others, I'm not sure I understand. You created the new frield. Did you then link it to the custom tag in the main preferences window?
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 04, 2020, 08:13:41 PM
The script is exactly what Hiccup posted in his tutorial. If I go to Edit Preferences/then Tags(1) and look at custom 1:, I see Picard title full. I then Define New Tags and I see the 6 new scripts. I'm in the main preferences window (I think), where do I link it?
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 04, 2020, 08:49:56 PM
I think some screenshots of your settings and the results would be helpful here
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 05, 2020, 02:40:33 PM
Here is a screen shot of my "main window" (I'm not sure what you call it). To put in the Picard tags, I clicked on "Edit Preferences" in the upper left-hand corner, and got the screen shown. I selected Custom1 in Tags(1) and entered "Picard title full". I then selected define new tags and got the "New custom tag definition" screen and copied and pasted the scripts there. The little red dots on two of them say that there's something wrong, but I can't figure out what. And, there is no correlation as to which tags have the red dots and which are or are not shown on the main window.

(https://imgur.com/6B7ICOl)
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 05, 2020, 02:43:10 PM
Although my prefious reply had the (http://codes, it didn't work. Here is the hyperlink (sorry the image is so big!).<br /><br /><br /><br /><a href=)https://imgur.com/6B7ICOl" />
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 05, 2020, 03:37:41 PM
"…"

With all due respect, I really understand and can relate to the difficulties you are experiencing in trying to master all this new stuff.
But… some questions that you have asked before, are explained well (including screenshots) in my 'classical tutorial' that motivated you to pick up this challenge.

Now you are running into issues and are asking for help on things that are not related to the Picard thread you are in now.
It is all becoming messy this way, and it is in everybody's best interest to keep things focused and to the point, and avoid the same issues scattered and repeated all over MusicBee's forum.

Please consider referencing the plethora of information that already is available on the forum and on the wiki, and if things still aren't clear, find the appropriate board to get assistance.

By the way, I have no issues at all with you asking questions in my 'classical tutorial' Tips & Tricks thread.
But only if you encounter problems specifically related to the main post: maybe the tutorial is unclear or incomplete, maybe the formulas and scripts themselves have problems,  Then it is fine with me to get some feedback or questions there.
Title: Re: MusicBrainz Picard q & a thread
Post by: MTVhike on December 05, 2020, 05:22:24 PM
Hiccup, I consider your well thought-out classical tutorial to be in two parts, the first on how to use Picard, and the second on how to integrate those scripts into MusicBee. Should I post the questions I posted here, in the 'classical tutorial' Tips & Tricks thread? It appears that my problem is NOT with the classical threads in particular, but in not understanding how custom tags (with scripts) work in Music Bee. Since the scripts are copied directly from Page 1 of the Tutorial, I assume there are no errors in them.

If I go to Edit Preferences, etc. as in my previous comment, I can create the custom tags. But if I right-click on the track and select Tag Inspector, I see only ARTIST, ENCODER, and TITLE, and if I select Tags(2), I see the renamed custom 1 tag, but none of the virtual tags created under Define New Tags.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 05, 2020, 05:31:41 PM
Hiccup, I consider your well thought-out classical tutorial to be in two parts, the first on how to use Picard, and the second on how to integrate those scripts into MusicBee.

No, you should consider them this:

Not 'how to use' Picard, but what settings you need to apply to it for this system of mine to work.
It is also not aiming to explain how MusicBee's custom and virtual tags work.
It is only explaining which tags you must setup.

Neither is this thread intended for learning about custom and virtual tags.

As I said before, there is already a massive amount of information on using custom and virtual tags to be found.

And if you need or want to understand and learn Picard better, this thread already contains a lot of information on it, but it would probably be a much better idea to go here:
https://picard-docs.musicbrainz.org/en/index.html
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 10, 2020, 10:33:12 PM
Its possible to get <release group> musicbrainz info from musicbee or I should use musicbrainz to tag songs and after that use custom tags on musicbee?

https://musicbrainz.org/doc/Release_Group/Type
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 10, 2020, 10:45:22 PM
I'm not sure I understand the question. Are you trying to tag something with Picard that will be visible in MusicBee? It will take a little work for a non-standard tag but it's possible.
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 11, 2020, 07:59:05 AM
I'm not sure I understand the question. Are you trying to tag something with Picard that will be visible in MusicBee? It will take a little work for a non-standard tag but it's possible.

Yep, I want to edit the information of my music album with some musicbrainz info.
Specifically this info (https://musicbrainz.org/doc/Release_Group/Type) Ive been doing manually for the latest month, but maybe musicbee is capable to get this automatically.

Thanks for respond
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 11, 2020, 02:41:35 PM
What I would do in this situation is create a custom tag in MusicBee called something like Release Group or MusicBrainz RG. Then add a script in Picard that will write to that tag.

I can give you more specifics when I'm at the computer; I know there's a slight difference between how MusicBee and Picard represent custom tag frames. The article I linked in the first post on a Picard script should be a decent reference.
Title: Re: MusicBrainz Picard q & a thread
Post by: frankz on December 11, 2020, 03:14:05 PM
I'm not sure I understand the question. Are you trying to tag something with Picard that will be visible in MusicBee?
Yep, I want to edit the information of my music album with some musicbrainz info.
Specifically this info (https://musicbrainz.org/doc/Release_Group/Type) Ive been doing manually for the latest month, but maybe musicbee is capable to get this automatically.
You understand that "tag something with Picard" is different than "get this automatically" in Musicbee, right? This is not Musicbee doing the tagging.  You will need to do your tagging in Picard and then set up Musicbee to read those tags.
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 12, 2020, 09:24:39 PM
I'm not sure I understand the question. Are you trying to tag something with Picard that will be visible in MusicBee?
Yep, I want to edit the information of my music album with some musicbrainz info.
Specifically this info (https://musicbrainz.org/doc/Release_Group/Type) Ive been doing manually for the latest month, but maybe musicbee is capable to get this automatically.
You understand that "tag something with Picard" is different than "get this automatically" in Musicbee, right? This is not Musicbee doing the tagging.  You will need to do your tagging in Picard and then set up Musicbee to read those tags.

So... When I use the autotag tool on MB is not getting the info that I wan to add? (Release type)

That Ive trying to achieve is getting what type of release from musicbee, no mattee if this come from musicbrainz or discogs.
Title: Re: MusicBrainz Picard q & a thread
Post by: phred on December 12, 2020, 09:35:44 PM
So... When I use the autotag tool on MB is not getting the info that I wan to add? (Release type)
That Ive trying to achieve is getting what type of release from musicbee, no mattee if this come from musicbrainz or discogs.

You seem to have missed this:
You understand that "tag something with Picard" is different than "get this automatically" in Musicbee, right? This is not Musicbee doing the tagging.  You will need to do your tagging in Picard and then set up Musicbee to read those tags.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 12, 2020, 09:50:54 PM
So... When I use the autotag tool on MB is not getting the info that I wan to add? (Release type)
That Ive trying to achieve is getting what type of release from musicbee, no mattee if this come from musicbrainz or discogs.

So you are not using MusicBrainz' Picard?
There is a reason that 'Picard' is in the title of this topic.
It would be good not to post questions here that don't have anything to do with Picard.

edit
sorry phred, I am aware my reply coincided with yours ;-)
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 13, 2020, 09:20:59 PM
So... When I use the autotag tool on MB is not getting the info that I wan to add? (Release type)
That Ive trying to achieve is getting what type of release from musicbee, no mattee if this come from musicbrainz or discogs.

So you are not using MusicBrainz' Picard?
There is a reason that 'Picard' is in the title of this topic.
It would be good not to post questions here that don't have anything to do with Picard.

edit
sorry phred, I am aware my reply coincided with yours ;-)

First of all, sorry for my english, maybe is harder to understand what im trying to say,
Yep, Im using Picard (ive tried to use beets, but It so much harder without gui)

If I tag the <release type> on picard, I should create a custom tag to use on musicbee, right?

That Ive asked as well, if its possible to use picard from musicbee to get the RELEASE TYPE (https://musicbrainz.org/doc/Release_Group/Type)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 13, 2020, 09:32:56 PM
I see! I thought you wanted release group, not release type. Since release type is automatically included when you tag with Picard, you just have to set MusicBee up to read it. I use it in my own custom tags, so I can share that as soon as I'm at my computer.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 14, 2020, 07:49:02 AM
That Ive asked as well, if its possible to use picard from musicbee to get the RELEASE TYPE (https://musicbrainz.org/doc/Release_Group/Type)

It seems you are looking for Media Type.
Picard will retrieve that information (when available) without any configuration necessary.
And MusicBee will display it when you select that tag for display:

(https://i.imgur.com/jS4BR07.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 14, 2020, 07:54:00 AM
It seems you are looking for Media Type.
Picard will retrieve that information (when available) without any configuration necessary.
And MusicBee will display it when you select that tag for display:

Based on the links, PROblem means Release Type, as in Album, Single, Compilation, Live, etc. I swear I will get my configuration posted tomorrow :)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 14, 2020, 09:37:09 AM
Based on the links, PROblem means Release Type, as in Album, Single, Compilation, Live, etc. I swear I will get my configuration posted tomorrow :)

If that's the case it's a little bit more complicated indeed.
I think something like this should work:

- create this script in Picard:

(https://i.imgur.com/2iadp9Q.png)

Code
$set(SOURCE MEDIUM,$get(media))
$set(releasetypemp3,$get(releasetype))

- create a custom tag in MusicBee:

(https://i.imgur.com/On9vdTc.png)

Then you should be able to get this:

(https://i.imgur.com/AKwJ6m5.png)

This should work for flac and mp3 files. Other file types will probably need other tweaks.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 14, 2020, 02:36:05 PM
You don't need scripts in Picard to get either of them, they're both included automatically.  Look for Media and Release Type in the tag mapping here: https://picard-docs.musicbrainz.org/v2.4/en/appendices/tag_mapping.html

To access them in MusicBee,  you're right that Media Type is already available (see first screenshot). Release type can be configured in Define New Tags by following the Picard tag mapping (second screenshot). Then you can add it as a custom tag the same way as Media Type.

Adding Media Type as custom tag:
(https://i.imgur.com/gmds5ey.png)

Release Type custom tag configuration:
(https://i.imgur.com/F6AxSpc.png)

Then you add it the same way:
(https://i.imgur.com/0zCcFmh.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 14, 2020, 03:13:20 PM
You don't need scripts in Picard to get either of them,

For flac files Picard will write 'MEDIA' for media type. Without this script MusicBee will not recognise it.
And note that for Vorbis it should say 'releasetype', not 'release type'.
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 14, 2020, 07:30:14 PM
I dont believe how good are u boys!

Thanks for help me to setup musicbee, Im gonna try some of ur advices, hope it works!

I will edit this comment later  ;)
Title: Re: MusicBrainz Picard q & a thread
Post by: PROblem on December 19, 2020, 12:40:02 PM
You don't need scripts in Picard to get either of them, they're both included automatically.  Look for Media and Release Type in the tag mapping here: https://picard-docs.musicbrainz.org/v2.4/en/appendices/tag_mapping.html

To access them in MusicBee,  you're right that Media Type is already available (see first screenshot). Release type can be configured in Define New Tags by following the Picard tag mapping (second screenshot). Then you can add it as a custom tag the same way as Media Type.

Adding Media Type as custom tag:
(https://i.imgur.com/gmds5ey.png)

Release Type custom tag configuration:
(https://i.imgur.com/F6AxSpc.png)

Then you add it the same way:
(https://i.imgur.com/0zCcFmh.png)

Hi mate, and thanks for helping me trying to setup this. I´ve follow your instructiones, but I cant get the info from MusicBrainz.
I make this steps.

First, I create this custom tag
customtag (https://imgur.com/lCHYbBT)

with this options
identifier (https://imgur.com/e7fB9uR)

I tried with this info, and the one in your photo
musicbrainz (https://imgur.com/vZ6iG8X)

I go to autotag function, but it seems that musicbee dont get any info of release type. What im doing wrong?
This is my first time with custom tags and autotag, so maybe im not doing it well

Thanks!  ;)
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on December 19, 2020, 05:28:00 PM
I go to autotag function, but it seems that musicbee dont get any info of release type. What im doing wrong?
This is my first time with custom tags and autotag, so maybe im not doing it well

As previously mentioned you must use Picard to get this info. The auto-tag function in MusicBee does not include the Release Type info.  (Also, as hiccup pointed out, the tag code is RELEASETYPE for FLAC, not Release Type. Not sure what format you're using.)
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on March 08, 2021, 05:42:44 PM
When opening a minimally tagged file into Picard and finding a match, my next step would be to save the new value tags into the file.  I do not want to add many of the tag types displayed however--e.g., all of the "Musicbrainz.." prefaced ones, Script, Barcode, etc.  I know I can right-click on those in the Tag column and choose "Remove" before saving the rest into the file, but that gets tedious when working with many files.  Is there a way to choose which Tags are actually displayed by default when doing a search, so saving just those is a lot quicker?  I did check the Picard forums and did not find a solution.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on March 08, 2021, 05:50:13 PM
I do not want to add many of the tag types displayed however--e.g., all of the "Musicbrainz.." prefaced ones, Script, Barcode, etc.
You can do that with scripting:

(https://i.imgur.com/OtlF5cT.png)

Here you can find the names of the tags you can use:
https://picard-docs.musicbrainz.org/en/variables/tags_basic.html
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on March 08, 2021, 06:25:29 PM
For what it's worth, keeping the MusicBrainz Id tags will help Picard identify the files again later if you decide you want to retag, add more info, or whatever.
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on March 08, 2021, 10:06:07 PM
You can do that with scripting:

(https://i.imgur.com/OtlF5cT.png)

Here you can find the names of the tags you can use:
https://picard-docs.musicbrainz.org/en/variables/tags_basic.html
Thanks hiccup that was spot-on what I needed and the deed is done.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on March 09, 2021, 06:52:45 AM
Thanks hiccup that was spot-on what I needed and the deed is done.

Great.
Referencing what psychoadept said, I would suggest to keep at least:
musicbrainz_albumid         for your albums,
musicbrainz_recordingid   for your single tracks.

That will speed up things a lot and prevent possible issues if you intend to run your files through Picard again at a later moment in time.
Title: Musicbrainz Picard Tag
Post by: Trugdish on March 29, 2021, 12:10:46 AM
Hello all

Musicbrainz picard adds an originaldate and originalyear tag, I am unsure how to configure MusicBee to display and sort by these tags, on file inspect MusicBee shows an emply value for these tags (maybe different as they are displayed with a space)

Any assistance?
Title: Re: Musicbrainz Picard Tag
Post by: hiccup on March 29, 2021, 08:30:13 AM
Musicbrainz picard adds an originaldate and originalyear tag, I am unsure how to configure MusicBee to display and sort by these tags…
Any assistance?
https://getmusicbee.com/forum/index.php?topic=18250.0
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on March 30, 2021, 12:43:13 PM
Picard 2.6 was just released

https://blog.metabrainz.org/2021/03/30/picard-2-6-released/
Title: Re: MusicBrainz Picard q & a thread
Post by: Terry Walker on April 01, 2021, 05:01:33 AM
Thanks for keeping us posted!
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on April 01, 2021, 11:08:18 PM
Thanks for keeping us posted!
So you are using Picard also?
What of it's features are you using and appreciating the most?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on May 07, 2021, 01:29:42 PM
There have been some developments and improvements going on regarding 'genres' at MusicBrainz.
A lot of genres have been added recently, and also I myself have gained a better understanding of how to use Picard on retrieving them.
The results I am getting now are quite satisfying, and since it's a rather complicated matter to figure out from scratch I thought to share my settings and the genre script I am using.

Settings Picard genres:

(https://i.imgur.com/IbOdP6Q.png)

You can adjust the 'minimal genre usage' and the 'maximum number of genres' to your own preferences. I advice against using 'folksonomy tags'.


Settings Picard's Wikidata plugin:

(https://i.imgur.com/GCIxaZT.png)

You can adjust the checkboxes to your own preferences.


Here is the script.

Note: you will need to use Picard 2.6.2 or higher for it to work

Code
$setmulti(genre,$lower(%genre%))
$setmulti(genre,$map(%genre%,$upper($substr(%_loop_value%,0,1))$substr(%_loop_value%,1,)))
$replacemulti(%genre%,Ebm,EBM)
$replacemulti(%genre%,Edm,EDM)
$replacemulti(%genre%,Mpb,MPB)
$replacemulti(%genre%,Idm,IDM)
$replacemulti(%genre%,Stage & screen,Stage & Screen)
$replacemulti(%genre%,Brass & military,Brass & Military)
$replacemulti(%genre%,Uk funky,UK funky)
$replacemulti(%genre%,Uk hardcore,UK hardcore)
$replacemulti(%genre%,Us power metal,US power metal)
$replacemulti(%genre%,2-step garage,2-step)
$replacemulti(%genre%,A cappella,A capella)
$replacemulti(%genre%,African popular music,African)
$replacemulti(%genre%,Afro pop music,African)
$replacemulti(%genre%,Afro-trap,Afro trap)
$replacemulti(%genre%,Alternative country,Alt-country)
$replacemulti(%genre%,Aor,Adult oriented rock)
$replacemulti(%genre%,Arabic pop music,Arab pop)
$replacemulti(%genre%,Argentine tango,Tango)
$replacemulti(%genre%,Art music,Classical)
$replacemulti(%genre%,Axé musica,Axé)
$replacemulti(%genre%,Bard song,Bard)
$replacemulti(%genre%,Baroque era,Baroque)
$replacemulti(%genre%,Berlin school of electronic music,Berlin school)
$replacemulti(%genre%,Blues-rock,Blues rock)
$replacemulti(%genre%,Bolero,Boléro)
$replacemulti(%genre%,Bop,Bebop)
$replacemulti(%genre%,Breaks,Breakbeat)
$replacemulti(%genre%,Brit pop,Britpop)
$replacemulti(%genre%,Celtic music,Celtic folk)
$replacemulti(%genre%,Club,Club-house)
$replacemulti(%genre%,Dance-pop,Dance pop)
$replacemulti(%genre%,Dark wave,Darkwave)
$replacemulti(%genre%,Deep soul,Southern soul)
$replacemulti(%genre%,Drill 'n' bass,Drill and bass)
$replacemulti(%genre%,Electro-funk,Electro)
$replacemulti(%genre%,Electronic dance music,EDM)
$replacemulti(%genre%,Electronica,Electronic)
$replacemulti(%genre%,Electronicore,Trancecore)
$replacemulti(%genre%,Euro disco,Euro-disco)
$replacemulti(%genre%,Folk-pop,Folk pop)
$replacemulti(%genre%,Fusion,Jazz fusion)
$replacemulti(%genre%,Future jazz,Nu jazz)
$replacemulti(%genre%,Glam,Glam rock)
$replacemulti(%genre%,Go-go,Gogo)
$replacemulti(%genre%,Hip hop soul,Hip-hop soul)
$replacemulti(%genre%,Humor,Comedy)
$replacemulti(%genre%,Intelligent dance music,IDM)
$replacemulti(%genre%,Irish traditional music,Irish folk)
$replacemulti(%genre%,Italo disco,Italo-disco)
$replacemulti(%genre%,Italo house,Italo dance)
$replacemulti(%genre%,Jazz-pop,Jazz pop)
$replacemulti(%genre%,Jazz rock,Jazz-rock)
$replacemulti(%genre%,Laïko,Laïkó)
$replacemulti(%genre%,Latin american music,Latin)
$replacemulti(%genre%,Low fidelity,Lo-fi)
$replacemulti(%genre%,Mangue bit,Mangue beat)
$replacemulti(%genre%,Martial music,Brass & Military)
$replacemulti(%genre%,Midwest hip hop,Midwest hip-hop)
$replacemulti(%genre%,Minimalism,Minimal)
$replacemulti(%genre%,Minimalist music,Minimal)
$replacemulti(%genre%,Mizrahi music,Mizrahi jewish)
$replacemulti(%genre%,Music of africa,African)
$replacemulti(%genre%,Music of brazil,Brazilian)
$replacemulti(%genre%,Music of israel,Israeli)
$replacemulti(%genre%,Music of latin america,Latin)
$replacemulti(%genre%,Music of puerto rico,Puerto rican)
$replacemulti(%genre%,Música popular brasileira,MPB)
$replacemulti(%genre%,Musical theater,Musical)
$replacemulti(%genre%,Neapolitan song,Canzone napoletana)
$replacemulti(%genre%,Neo-classical metal,Neoclassical metal)
$replacemulti(%genre%,Neoclassical new-age music,Neoclassical new age)
$replacemulti(%genre%,New flamenco,Flamenco nuevo)
$replacemulti(%genre%,New romanticism,New romantic)
$replacemulti(%genre%,New-age music,New age)
$replacemulti(%genre%,Nuevo tango,Tango nuevo)
$replacemulti(%genre%,Old-school hip hop,Disco rap)
$replacemulti(%genre%,Old-school rap,Disco rap)
$replacemulti(%genre%,Philadelphia soul,Philly soul)
$replacemulti(%genre%,Political hip hop,Political hip-hop)
$replacemulti(%genre%,Pop art,Art pop)
$replacemulti(%genre%,Pop-music,Pop)
$replacemulti(%genre%,Popular music,Pop)
$replacemulti(%genre%,Prog rock,Progressive rock)
$replacemulti(%genre%,Prog-rock,Progressive rock)
$replacemulti(%genre%,Protopunk,Proto-punk)
$replacemulti(%genre%,Psychedelic trance,Psytrance)
$replacemulti(%genre%,R&b,Rhythm and blues)
$replacemulti(%genre%,Rapping,Rap)
$replacemulti(%genre%,Rave,Breakbeat hardcore)
$replacemulti(%genre%,Rock & roll,Rock and roll)
$replacemulti(%genre%,Romantic era,Romantic)
$replacemulti(%genre%,Rune singing,Runolaulo)
$replacemulti(%genre%,Runo song,Runolaulo)
$replacemulti(%genre%,Samba reggae,Samba-reggae)
$replacemulti(%genre%,Shoegazing,Shoegaze)
$replacemulti(%genre%,Song-cycle,Song cycle)
$replacemulti(%genre%,Southern gothic,Gothic country)
$replacemulti(%genre%,Southern hip hop,Dirty south)
$replacemulti(%genre%,Stage and screen,Stage & Screen)
$replacemulti(%genre%,Symphonic music,Symphony)
$replacemulti(%genre%,Synthpop,Synth-pop)
$replacemulti(%genre%,Synthpunk,Digital hardcore)
$replacemulti(%genre%,Traditional heavy metal,Heavy metal)
$replacemulti(%genre%,Trip-hop,Trip hop)
$replacemulti(%genre%,Urban,Hip hop)
$replacemulti(%genre%,Urban contemporary,Hip hop)
$replacemulti(%genre%,Western classical music,Classical)
$set(_genremusic,$replacemulti(%genre%,Bass music,Bass xxxxx))
$set(_genremusic,$replacemulti(%genre%,Chamber music,Chamber xxxxx))
$set(_genremusic,$replacemulti(%genre%,Early music,Early xxxxx))
$set(_genremusic,$replacemulti(%genre%,Epic music,Epic xxxxx))
$set(_genremusic,$replacemulti(%genre%,Furniture music,Furniture xxxxx))
$set(_genremusic,$replacemulti(%genre%,Incidental music,Incidental xxxxx))
$set(_genremusic,$rreplace($rreplace(%_genremusic%,\( music;\),;),\( music\)\$,))
$set(genre,$replace(%_genremusic%,xxxxx,music))
$setmulti(_genretemp,%genre%)
$set(genre,$unique(%_genretemp%))
$setmulti(genre,$unique(%genre%))


What it does:

- It makes the names of genres as provided by the Wikidata plugin and MusicBrainz’ database uniform.
   So you won't end up with duplicates such as ‘Pop music’ and ‘Pop’, or ‘Dark wave’ and ‘Darkwave’, etc.

- It will ‘sentence case’ all genre names. Just because I think that looks best.

- It adjusts some genre names to my personal preferences.

- It removes duplicate genre entries.

- It makes it so that the produced genre names are compatible with MusicBee's internally known genre names.

Note that not all genres that can be retrieved will be grouped into MusicBee's Genre hierarchy or Genre grouping since not all of these genres are currently known by MusicBee.

If you want full compatibility including the most recently added genres, I suggest to use my 'Enhanced Genre Hierarchy' list and the related Genre Grouping file.
https://getmusicbee.com/forum/index.php?topic=32471.0
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on May 07, 2021, 06:31:30 PM
Thanks hiccup for sharing all the settings and your script, it's nice not to have to "re-invent the wheel" every time which of course is the beauty of support forums and generous users.
Title: Re: MusicBrainz Picard q & a thread
Post by: The Incredible Boom Boom on May 27, 2021, 02:30:08 PM
As of v2.6, Picard can grab a track's earliest Release Group date using the scripting variable %_recording_firstreleasedate%. I know #psychoadept was doing this in a manual fashion, so this should be very helpful.

My <Love> by <Decade> playlists will soon be perfect!
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on December 19, 2021, 04:18:49 PM
Just a heads-up to MusicBrainz' Picard users:

Last week they released a new version (2.7.0), but that release has raised quite a few issues and problems for me.
At the moment I can not pinpoint if they are related to plugins, scripts, or programmatic changes within Picard, but I would personally advise to stick to 2.6.x versions for now.
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on December 19, 2021, 05:29:55 PM
Just a heads-up to MusicBrainz' Picard users:

Last week they released a new version (2.7.0), but that release has raised quite a few issues and problems for me.
At the moment I can not pinpoint if they are related to plugins, scripts, or programmatic changes within Picard, but I would personally advise to stick to 2.6.x versions for now.
Thanks for the heads-up, luckily I read this first.  Sticking to 2.6.3.
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on December 31, 2021, 11:31:47 PM
Just a heads-up to MusicBrainz' Picard users:

Last week they released a new version (2.7.0), but that release has raised quite a few issues and problems for me.
At the moment I can not pinpoint if they are related to plugins, scripts, or programmatic changes within Picard, but I would personally advise to stick to 2.6.x versions for now.
Hiccup has this been sorted yet?
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on January 01, 2022, 12:09:48 AM
Hiccup has this been sorted yet?
I am not completely sure.
My gut tells me that Picard 2.7.1 by itself now works fine and is reliable.

The main problems/bugs I experienced with 2.7.0 (and the reason for me crying wolf!) in hindsight were probably related to incompatibilities with the Classical Extras plugin.
Far as I know the developer of CE is going to look into the problem, so that will most likely be solved within a short while.

How and if all this affects any other plugins for Picard: I have no idea.

So for now my advice would be:
Picard 2.7.1 by itself should be o.k. and is safe to use.
If you are using the Classical Extras plugin or perhaps other advanced plugins: stick to 2.6.x versions for the time being.
Title: Re: MusicBrainz Picard q & a thread
Post by: sveakul on January 02, 2022, 10:49:09 PM
Thanks.  I did go to 2.7.1 then; my usage is very basic (no plugins) and so far no problems.
Title: Re: MusicBrainz Picard q & a thread
Post by: Geremye on February 12, 2022, 11:09:31 PM
You don't need scripts in Picard to get either of them, they're both included automatically.  Look for Media and Release Type in the tag mapping here: https://picard-docs.musicbrainz.org/v2.4/en/appendices/tag_mapping.html

To access them in MusicBee,  you're right that Media Type is already available (see first screenshot). Release type can be configured in Define New Tags by following the Picard tag mapping (second screenshot). Then you can add it as a custom tag the same way as Media Type.

Adding Media Type as custom tag:
(https://i.imgur.com/gmds5ey.png)

Release Type custom tag configuration:
(https://i.imgur.com/F6AxSpc.png)

Then you add it the same way:
(https://i.imgur.com/0zCcFmh.png)
can you repost these images?  

I'm struggling with getting release type from picard to show up in musicbee.
Title: Re: MusicBrainz Picard q & a thread
Post by: psychoadept on February 14, 2022, 05:00:45 PM
I'll take a look at it tonight
Title: Re: MusicBrainz Picard q & a thread
Post by: frankuaku on June 10, 2022, 11:31:11 AM
I stumbled across this (great) thread and I decided to give Picard a go in tagging genres for my library.

Anyway, I think there's a "strange" behaviour in Picard itself.

Here is the situation after I click "Cluster":
(https://i.imgur.com/QiDmaDV.png)

Here is the situation after I click "Lookup":
(https://i.imgur.com/MkdHnWx.png)

Why are titles not shown anymore? Why do ReplayGain tags seems "missing from x items"?

Thanks a lot in advance.
Title: Re: MusicBrainz Picard q & a thread
Post by: voodoopunk on June 10, 2022, 02:05:38 PM
Hi frakuaku,

I'm pretty sure titles are shown, if you select a song rather than the album. As you can see the title is different across 10 items as you would expect.

Can't really help with the replay gain, it looks though as if one track doesn't have replay gain, as stated.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on June 10, 2022, 02:37:33 PM
Why do ReplayGain tags seems "missing from x items"?
That's because the 6th track was not matched, so it can't show any tagging information for it.

For some reason you have track 6 positioned at #9.
Just drag it to position 6 and you should have a perfect match for the whole album.
Title: Re: MusicBrainz Picard q & a thread
Post by: frankuaku on June 10, 2022, 02:47:05 PM
Thanks a lot for the suggestion: it worked! Anyway, titles are not showing; I think that the problem resides in the fact that I'm using your scripts from the genre tagging topic, and in particolar to the one that unsets all tags apart from genre.

There are some problems with track length: in some songs, its value would be brown, so I think it would overwrite it when I click on save.

Example:
(https://i.imgur.com/HUnDS1q.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on June 10, 2022, 03:03:59 PM
I think that the problem resides in the fact that I'm using your scripts from the genre tagging topic, and in particolar to the one that unsets all tags apart from genre.
The script prevents <title> to be updated or overwritten.
If you remove the entry $unset(title) from the script, Picard will show the titles. (and update them when there is a difference)
You can then also add 'title' to Options > Tags > Prevent these tags from being cleared or overwritten…
Then they will show, but not get updated.

Quote
There are some problems with track length: in some songs, its value would be brown, so I think it would overwrite it when I click on save.
There will very often be small variations in the duration of tracks.
It can depend on thing such as how your files have them calculated, or e.g. small differences between releases. (some may have a few seconds of silence added to a track)
The 'length' fields are to be considered a helpful indication.
It wouldn't make sense to have Picard overwrite the duration information that is in your files, since the one in your files will (usually be) be correct.

By the way, Picard has a very extensive tutorial available: https://picard-docs.musicbrainz.org/en/index.html , and they also have an active forum that will contain answers to a lot of questions. There are also some very knowledgeable and helpful people over there.

edit:
Looking at the screenshot it looks like you are using id3v2.3, and not 2.4?
Maybe you are doing that on purpose, but be aware that your genres will now not be 'proper' multi-value tags using semicolons.
Title: Re: MusicBrainz Picard q & a thread
Post by: frankuaku on June 11, 2022, 12:02:34 PM
Looking at the screenshot it looks like you are using id3v2.3, and not 2.4?
Maybe you are doing that on purpose, but be aware that your genres will now not be 'proper' multi-value tags using semicolons.

Yes, I am doing it on purpose.

Anyway, another problem: I tagged some files with Picard and MusicBee removed them automatically from my library. I tried rescanning several times, but nothing worked. If I reach them in the Computer node, they are shown in their folders and they play properly (with the new tags).
Title: Re: MusicBrainz Picard q & a thread
Post by: alec.tron on September 14, 2022, 08:36:19 AM
Hi.
A quick question for those following Picard closely: Is it possible (now) to reroute and/or disable all Tag write/mappings ?
i.e. I'd want to pump Musicbrainz genre value to a custom field, and disable artist name/album/track name writing altogether. I checked the documentation again, but from that it's not clear if these (https://picard-docs.musicbrainz.org/downloads/MusicBrainz_Picard_Tag_Map.html) can be rerouted and/or disabled.

Cheers.
c.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on September 14, 2022, 05:54:08 PM
Is it possible (now) to reroute and/or disable all Tag write/mappings ?
Check this out: https://getmusicbee.com/forum/index.php?topic=35975.msg196795#msg196795
The second script prevents Picard writing any tag.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on July 26, 2023, 06:30:01 PM
For those interested, Picard 2.9 was released today: https://blog.metabrainz.org/2023/07/26/picard-2-9-released/

note:
One change that may be relevant in relation to MusicBee is that Picard now uses ID3v2.4 by default.
(the update to ID3 that was released 23 years ago to succeed v2.3  ;-)

So if you already haven't adjusted MusicBee to use 2.4 for MP3 files this might be a good moment to do so.
(or change Picard's setting so it reverts to using 2.3)
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on September 13, 2023, 03:57:01 PM
Picard was updated to v2.9.2 (https://picard.musicbrainz.org/downloads/)
(2.9 and 2.9.1 had some minor issues, but I am very confident about 2.9.2)
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on September 23, 2023, 09:01:07 PM
Hi All,

I am wanting to start using the grouping tag for a few of the albums I’ve got ie box set, Remastered etc. After going over the Tag  mapping docs I see that Picard doesn’t write this by default and the only plugin that writes it is no longer available (a Last.fm plugin I think).

Am I missing something simple,  like a simple script to get the relevant tags? Any help would be greatly appreciated.
Cheers
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on September 24, 2023, 06:25:39 AM
I am wanting to start using the grouping tag for a few of the albums I’ve got ie box set, Remastered etc.

I'm pretty sure both are currently not possible to retrieve.

Box set is a problem, because the boys and girls at MusicBrainz haven't come to an agreement if boxset is a valid release attribute, since some believe 'compilation' already covers those, and 'box set' is a difficult to define concept.
(I agree with making boxset an official release type b.t.w.)

Here (https://community.metabrainz.org/t/style-2359-handle-bundled-releases-differently-from-other-compilations-attribute-or-secondary-release-group-type/648808) is the (ongoing) discussion on the matter. You could contribute to it to help convince them.
(or to this (https://community.metabrainz.org/t/how-to-retrieve-a-boxset-tag/654112) one ;-)


Attributes such as 'remaster' are not regular and retrievable tags at MusicBrainz.
They are in a so called 'disambiguation' field.

(https://i.imgur.com/7DyhRXB.png)

You could post a request at MusicBrainz Picard board for making it possible for Picard to retrieve them.
(I myself am not aware of a plugin that can do this)

b.t.w.
You could easily add tags such as 'boxset' and 'remaster' to a release yourself as 'other tags'.
Then they can be retrieved by Picard by allowing it to retrieve 'folksonomy' tags.

(https://i.imgur.com/crrGBXl.png)
 
Title: Re: MusicBrainz Picard q & a thread
Post by: Mr. Trev on October 09, 2023, 09:20:31 PM
I have created a "send to" option for Picard (using the "<URLs>" parameter) and it had been working as intended so far. I have Picard set to auto-cluster the files, but since updating to v2.9, it isn't happening anymore. If I load the folder/files directly from Picard (as opposed to using "send to") the auto-cluster does happen.
This is a minor niggle, and I was just wondering if anybody else has noticed the same behaviour
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 10, 2023, 06:48:19 PM
I have created a "send to" option for Picard (using the "<URLs>" parameter) and it had been working as intended so far. I have Picard set to auto-cluster the files, but since updating to v2.9, it isn't happening anymore.
This seems like something that has been changed on the Picard side, and not with MusicBee.
Best report it here (https://community.metabrainz.org/t/picard-2-10-release-candidate/657104).
It's the thread about the (soon) upcoming 2.10 version of Picard that has the same behaviour as 2.9 regarding this issue.
(I checked and can confirm that it worked as expected with e.g. Picard 2.8 )

I do know there have been some elemental changes to Picard with regards to Windows portable versions and command line options lately.
This is probably related to that.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on October 12, 2023, 02:17:42 AM
I'm noticing the last few releases of picard have been quite buggy (windows portable). I know they have been making a few back of house changes but i felt it was running very reliable up until recently.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 13, 2023, 10:17:29 PM
I'm noticing the last few releases of picard have been quite buggy (windows portable). I know they have been making a few back of house changes but i felt it was running very reliable up until recently.
I'm not sure if I agree with the description 'buggy'.
Some releases briefly before 2.9.2 did have some issues, but 2.9.2 has been very reliable for me.
The developers of Picard have been making some fundamental changes to some of its intestines, so that could be related to what Mr. Trev is experiencing.
If he reports it on MusicBrainz's Picard forum (he hasn't yet), I'm sure they will take a look at it.

B.T.W.
Picard 2.10 was released today.
Recommended.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on October 30, 2023, 01:15:19 PM
Hi Guys,

This is probably a bit of a Simplistic question but for some reason I haven’t been able to get it to work. I would like to assign the release type to the grouping tag, ie deluxe version, remastered, live etc. what would the Picard script need to look like to achieve this?. Thanks to anyone that can help with this.

Regards
Dizza
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 30, 2023, 05:31:18 PM
This is probably a bit of a Simplistic question but for some reason I haven’t been able to get it to work. I would like to assign the release type to the grouping tag, ie deluxe version, remastered, live etc. what would the Picard script need to look like to achieve this?
It's far from simple.
There are many tags and variables available for such purposes.
See here for an overview:
https://picard-docs.musicbrainz.org/en/variables/variables.html

Here is a testing script that retrieves tags that I know of that can provide such extra information on recordings and releases.
Make sure you have checked 'use track relationships' and 'use release relationships'.
Just load some tracks/albums in Picard, and see what content is available for these releases.
It should help you decide on which ones are useful to you.
(don't press 'Save' if you don't want to modify the files you are testing this on)

Code
$set(001_recordingcomment,%_recordingcomment%)
$set(002_performance_attributes,%_performance_attributes%)

$set(003_releasecomment,%_releasecomment%)
$set(004_comment,%comment%)
$set(005_releasetype,%releasetype%)
$set(006_primaryreleasetype,%_primaryreleasetype%)
$set(007_secondaryreleasetype,%_secondaryreleasetype%)

$set(008_media,%media%)
$set(009_discsubtitle,%discsubtitle%)

$set(010_recording_series,%_recording_series%)
$set(011_recording_seriescomment,%_recording_seriescomment%)
$set(012_releaseannotation,%_releaseannotation%)
$set(013_release_series,%_release_series%)
$set(014_release_seriescomment,%_release_seriescomment%)
$set(015_releasegroupcomment,%_releasegroupcomment%)
$set(016_releasegroup_series,%_releasegroup_series%)
$set(017_work_series,%_work_series%)
$set(018_work_seriescomment,%_work_seriescomment%)

About writing the 'Grouping' tag:
Just do something like this:

Code
$setmulti(grouping,%releasetype%)
Or if you want to go crazy and populate 'Grouping' with all that is available from the first script, use this:

Code
$setmulti(grouping,%_recordingcomment%; %_performance_attributes%; %_releasecomment%; %comment%; %releasetype%; %_primaryreleasetype%; %_secondaryreleasetype%; %media%; %discsubtitle%; %_recording_series%; %_recording_seriescomment%; %_releaseannotation%; %_release_series%; %_release_seriescomment%; %_releasegroupcomment%; %_releasegroup_series%; %_work_series%; %_work_seriescomment%)
$copymerge(grouping,$cleanmulti(grouping))
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on October 31, 2023, 10:33:30 AM
Hiccup,

I am forever grateful for your assistance. It continues to frustrate me that as much as I have tried to learn basic scripting/regx i just can’t get my head around it beyond the very very basic of scripts.
Having helpful gentleman like yourself along with others in the forum is something that separates this forum from others. Have yourself a great day sir.

Regards
Dizza
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on October 31, 2023, 07:28:04 PM
Thanks Dizza, that's much appreciated.
I'm merely returning the favour to the countless people in- and outside this forum that have helped me—directly or indirectly—when I couldn't figure things out over the years.
And that happened, and still happens a lot.

All this stuff does not come easy or natural to my somewhat fuzzy brain too ;-)
(bumps on my forehead and pulled-out hairs to prove it)

on-topic edit:
Let us know how you fare with trying out all these available release/track information tags?
It could be helpful to other MusicBee/Picard users to decide on which ones may be useful for what.
I myself am only using 2 or 3 of them, since when I did some tests I couldn't see a good purpose for most of the others. But I may be missing something.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on November 01, 2023, 04:44:00 AM
@hiccup
You weren’t wrong about the “going crazy” part with the amount of info you can get about a release!
After experimenting with a couple of albums I think I’ll stick with 1-2 scripts to get the performance attributes and primary release type. The rest doesn’t really add any value to how I like my files tagged.

Now to start tackling the sort tags. Wondering if it’s better to just use the standard sort values or try the additional artist variables plugin sort tags.
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on November 01, 2023, 07:56:30 AM
Now to start tackling the sort tags. Wondering if it’s better to just use the standard sort values or try the additional artist variables plugin sort tags.
Personally I don't care about or use any differentiating 'sort' tags or values.
(except for the names of classical composers in my classical setup)
I also don't care about ignoring words such as 'The' etc.

In case it interests you, for preparing and modifying artists/performers and their roles I use the following three Picard plugins:

Additional Artists Variables
Format Performer Tags
Performer Tag Replace

The more I can use Picard to write the tags exactly as I want them, the less I have to worry about additional processing in MusicBee.

edit:
I also have some testing script that retrieves all such additional performer tags in the same manner that my testing script for additional recording and release info does. (001_variable_a  002_variable_b  etc.)
If you are interested I can share that one tonight.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on November 01, 2023, 10:16:27 AM
Yeah I haven’t cared much for sort tags either but thought it might add a level of neatness to my files. Perhaps I’ll reassess that rabbit hole.

The Performer & Involved People tags are the ones that I have been working on of late. Testing what Picard scripts work best for musicbee without any further work. In my novice testing, I tried using the Classical extras plugin to create my performer tags but it didn’t seem to work as well as native Picard with the plugins you mentioned above.
Appreciate any tips/script suggestions you have, I also would prefer to do 97% of my tagging in Picard so MB can do what it does best in displaying them.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on November 18, 2023, 02:15:30 PM
I’m curious how others use credited tags in musicbee? Picard does a brilliant job in getting these tags, to which I then use scripts to format them to my liking to be displayed in MB.

Do most users lump them all in the involved people list and then use virtual tags to display them? Or is the preferred method to assign them each a custom tag so they are kept separate for display purposes etc.

Cheers👍🏼


Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on February 08, 2024, 03:49:25 PM
Better late than never?:

Some two weeks ago Picard 2.11 (https://blog.metabrainz.org/2024/01/25/picard-2-11-released/) was released.
Title: Re: MusicBrainz Picard q & a thread
Post by: Dizza17 on February 12, 2024, 08:54:27 AM
Now to start tackling the sort tags. Wondering if it’s better to just use the standard sort values or try the additional artist variables plugin sort tags.
Personally I don't care about or use any differentiating 'sort' tags or values.
(except for the names of classical composers in my classical setup)
I also don't care about ignoring words such as 'The' etc.

In case it interests you, for preparing and modifying artists/performers and their roles I use the following three Picard plugins:

Additional Artists Variables
Format Performer Tags
Performer Tag Replace

The more I can use Picard to write the tags exactly as I want them, the less I have to worry about additional processing in MusicBee.

edit:
I also have some testing script that retrieves all such additional performer tags in the same manner that my testing script for additional recording and release info does. (001_variable_a  002_variable_b  etc.)
If you are interested I can share that one tonight.

@Hiccup, I’m interested in how you use the performer replace plug in? I’m also curious how you use it in conjunction with scripts?
Any examples or suggestions would be greatly appreciated.
Regards Dizza
Title: Re: MusicBrainz Picard q & a thread
Post by: hiccup on February 12, 2024, 04:44:08 PM
@Hiccup, I’m interested in how you use the performer replace plug in? I’m also curious how you use it in conjunction with scripts?
Any examples or suggestions would be greatly appreciated.
The only thing that I have the Performer Tag Replacement plugin doing is changing how some instruments are named. Especially drums, bass, and it it removes 'family' from instrument descriptions.

(https://i.imgur.com/WmJdlQK.png)

It is not the type of plugin that makes new (hidden) variables available for scripting, so I have no scripts relying on it.

I am wondering if you are perhaps thinking of the Format Performer Tags plugin?

That one makes the difference for how the performers show up in MusicBee's track details panel.
These are my settings for it:

(https://i.imgur.com/sJmWmfI.png)

Note that at the bottom of the screenshot you can also see that the plugin shows a preview of how your settings will turn out.
(yeah, that rdswift (https://github.com/rdswift/picard-plugins/tree/2.0_RDS_Plugins/plugins) is a pretty clever guy ;-)


A third plugin I use for this kind of thing is the Additional Artists Variables plugin.
And this is the one that does make new (hidden) variables available which can then be used for scripting.
See here (https://github.com/rdswift/picard-plugins/tree/2.0_RDS_Plugins/plugins/additional_artists_variables) for what it can do.

It wouldn't be useful to share my scripts that make use of it, since they also contain dependencies on other scripts.
So they won't work for somebody else and would be very difficult to explain.

I do have a testing script for the Additional Artists Variables plugin that may be useful though.
It will write all tags that are made available if you have the plugin installed.
That will give you an idea of what it can retrieve for a release, which can be helpful for deciding which variables to use for your scripts.

Code
$noop(
Album Variables
)

$set(001_artists_album_primary_id,%_artists_album_primary_id%)
$set(002_artists_album_primary_std,%_artists_album_primary_std%)
$set(003_artists_album_primary_sort,%_artists_album_primary_sort%)
$set(004_artists_album_primary_cred,%_artists_album_primary_cred%)
$set(005_artists_album_primary_cred_sort,%_artists_album_primary_cred_sort%)
$set(006_artists_album_primary_legal,%_artists_album_primary_legal%)
$set(007_artists_album_primary_sort_legal,%_artists_album_primary_sort_legal%)
$set(008_artists_album_primary_tags,%_artists_album_primary_tags%)
$set(009_artists_album_additional_id,%_artists_album_additional_id%)
$set(010_artists_album_additional_std,%_artists_album_additional_std%)
$set(011_artists_album_additional_cred,%_artists_album_additional_cred%)
$set(012_artists_album_additional_sort,%_artists_album_additional_sort%)
$set(013_artists_album_additional_cred_sort,%_artists_album_additional_cred_sort%)
$set(014_artists_album_additional_legal,%_artists_album_additional_legal%)
$set(015_artists_album_additional_std_multi,%_artists_album_additional_std_multi%)
$set(016_artists_album_additional_cred_multi,%_artists_album_additional_cred_multi%)
$set(017_artists_album_additional_sort_multi,%_artists_album_additional_sort_multi%)
$set(018_artists_album_additional_cred_sort_multi,%_artists_album_additional_cred_sort_multi%)
$set(019_artists_album_additional_legal_multi,%_artists_album_additional_legal_multi%)
$set(020_artists_album_all_std,%_artists_album_all_std%)
$set(021_artists_album_all_sort,%_artists_album_all_sort%)
$set(022_artists_album_all_cred,%_artists_album_all_cred%)
$set(023_artists_album_all_cred_sort,%_artists_album_all_cred_sort%)
$set(024_artists_album_all_legal,%_artists_album_all_legal%)
$set(025_artists_album_all_std_multi,%_artists_album_all_std_multi%)
$set(026_artists_album_all_sort_multi,%_artists_album_all_sort_multi%)
$set(027_artists_album_all_cred_multi,%_artists_album_all_cred_multi%)
$set(028_artists_album_all_cred_sort_multi,%_artists_album_all_cred_sort_multi%)
$set(029_artists_album_all_legal_multi,%_artists_album_all_legal_multi%)
$set(030_artists_album_all_sort_primary,%_artists_album_all_sort_primary%)
$set(031_artists_album_all_types,%_artists_album_all_types%)
$set(032_artists_album_all_join_phrases,%_artists_album_all_join_phrases%)
$set(033_artists_album_all_count,%_artists_album_all_count%)

$noop(
Track Variables
)

$set(034_artists_track_primary_id,%_artists_track_primary_id%)
$set(035_artists_track_primary_std,%_artists_track_primary_std%)
$set(036_artists_track_primary_sort,%_artists_track_primary_sort%)
$set(037_artists_track_primary_cred,%_artists_track_primary_cred%)
$set(038_artists_track_primary_cred_sort,%_artists_track_primary_cred_sort%)
$set(039_artists_track_primary_legal,%_artists_track_primary_legal%)
$set(040_artists_track_primary_sort_legal,%_artists_track_primary_sort_legal%)
$set(041_artists_track_additional_id,%_artists_track_additional_id%)
$set(042_artists_track_additional_std,%_artists_track_additional_std%)
$set(043_artists_track_additional_cred,%_artists_track_additional_cred%)
$set(044_artists_track_additional_sort,%_artists_track_additional_sort%)
$set(045_artists_track_additional_cred_sort,%_artists_track_additional_cred_sort%)
$set(046_artists_track_additional_legal,%_artists_track_additional_legal%)
$set(047_artists_track_additional_std_multi,%_artists_track_additional_std_multi%)
$set(048_artists_track_additional_sort_multi,%_artists_track_additional_sort_multi%)
$set(049_artists_track_additional_cred_multi,%_artists_track_additional_cred_multi%)
$set(050_artists_track_additional_cred_sort_multi,%_artists_track_additional_cred_sort_multi%)
$set(051_artists_track_additional_legal_multi,%_artists_track_additional_legal_multi%)
$set(052_artists_track_all_std,%_artists_track_all_std%)
$set(053_artists_track_all_sort,%_artists_track_all_sort%)
$set(054_artists_track_all_cred,%_artists_track_all_cred%)
$set(055_artists_track_all_cred_sort,%_artists_track_all_cred_sort%)
$set(056_artists_track_all_legal,%_artists_track_all_legal%)
$set(057_artists_track_all_std_multi,%_artists_track_all_std_multi%)
$set(058_artists_track_all_sort_multi,%_artists_track_all_sort_multi%)
$set(059_artists_track_all_cred_multi,%_artists_track_all_cred_multi%)
$set(060_artists_track_all_cred_sort_multi,%_artists_track_all_cred_sort_multi%)
$set(061_artists_track_all_legal_multi,%_artists_track_all_legal_multi%)
$set(062_artists_track_all_sort_primary,%_artists_track_all_sort_primary%)
$set(063_artists_track_all_types,%_artists_track_all_types%)
$set(064_artists_track_all_join_phrases,%_artists_track_all_join_phrases%)
$set(065_artists_track_all_count,%_artists_track_all_count%)
Title: Re: MusicBrainz Picard q & a thread
Post by: ewan on March 02, 2024, 09:04:31 PM
I think that here we need to publish a virtual tag formula to convert the releasecountry tag from ISO 3166-1 code to the full country name. Of course, this tag can be converted to Picard using $countryname(country_code,translate=""), but this method may be suitable if both values are needed, using only one custom tag.

country names are adapted to discogs.com
*<Release Country>  - tag containing ISO 3166-1 country code
Code
$If(<Release Country>=US,"US",
$If(<Release Country>=GB,"UK",
$If(<Release Country>=XW,"Worldwide",
$If(<Release Country>=DE,"Germany",
$If(<Release Country>=FR,"France",
$If(<Release Country>=JP,"Japan",
$If(<Release Country>=IT,"Italy",
$If(<Release Country>=XE,"Europe",
$If(<Release Country>=CA,"Canada",
$If(<Release Country>=NL,"Netherlands",
$If(<Release Country>=ES,"Spain",
$If(<Release Country>=AU,"Australia",
$If(<Release Country>=RU,"Russia",
$If(<Release Country>=SE,"Sweden",
$If(<Release Country>=BR,"Brazil",
$If(<Release Country>=BE,"Belgium",
$If(<Release Country>=GR,"Greece",
$If(<Release Country>=PL,"Poland",
$If(<Release Country>=MX,"Mexico",
$If(<Release Country>=FI,"Finland",
$If(<Release Country>=JM,"Jamaica",
$If(<Release Country>=CH,"Switzerland",
$If(<Release Country>=SU,"USSR",
$If(<Release Country>=AR,"Argentina",
$If(<Release Country>=DK,"Denmark",
$If(<Release Country>=PT,"Portugal",
$If(<Release Country>=NO,"Norway",
$If(<Release Country>=AT,"Austria",
$If(<Release Country>=NZ,"New Zealand",
$If(<Release Country>=AD,"Andorra",
$If(<Release Country>=AE,"United Arab Emirates",
$If(<Release Country>=AF,"Afghanistan",
$If(<Release Country>=AG,"Antigua & Barbuda",
$If(<Release Country>=AI,"Anguilla",
$If(<Release Country>=AL,"Albania",
$If(<Release Country>=AM,"Armenia",
$If(<Release Country>=AN,"Netherlands Antilles",
$If(<Release Country>=AO,"Angola",
$If(<Release Country>=AQ,"Antarctica",
$If(<Release Country>=AS,"American Samoa",
$If(<Release Country>=AW,"Aruba",
$If(<Release Country>=AX,"Åland Island",
$If(<Release Country>=AZ,"Azerbaijan",
$If(<Release Country>=BA,"Bosnia & Herzegovina",
$If(<Release Country>=BB,"Barbados",
$If(<Release Country>=BD,"Bangladesh",
$If(<Release Country>=BF,"Burkina Faso",
$If(<Release Country>=BG,"Bulgaria",
$If(<Release Country>=BH,"Bahrain",
$If(<Release Country>=BI,"Burundi",
$If(<Release Country>=BJ,"Benin",
$If(<Release Country>=BL,"Saint Barthélemy",
$If(<Release Country>=BM,"Bermuda",
$If(<Release Country>=BN,"Brunei",
$If(<Release Country>=BO,"Bolivia",
$If(<Release Country>=BQ,"Caribbean Netherlands",
$If(<Release Country>=BS,"Bahamas, The",
$If(<Release Country>=BT,"Bhutan",
$If(<Release Country>=BV,"Bouvet Island",
$If(<Release Country>=BW,"Botswana",
$If(<Release Country>=BY,"Belarus",
$If(<Release Country>=BZ,"Belize",
$If(<Release Country>=CC,"Cocos (Keeling) Islands",
$If(<Release Country>=CD,"Congo, Democratic Republic of the",
$If(<Release Country>=CF,"Central African Republic",
$If(<Release Country>=CG,"Congo, Republic of the",
$If(<Release Country>=CI,"Ivory Coast",
$If(<Release Country>=CK,"Cook Islands",
$If(<Release Country>=CL,"Chile",
$If(<Release Country>=CM,"Cameroon",
$If(<Release Country>=CN,"China",
$If(<Release Country>=CO,"Colombia",
$If(<Release Country>=CR,"Costa Rica",
$If(<Release Country>=CS,"Serbia and Montenegro",
$If(<Release Country>=CU,"Cuba",
$If(<Release Country>=CV,"Cape Verde",
$If(<Release Country>=CW,"Curaçao",
$If(<Release Country>=CX,"Christmas Island",
$If(<Release Country>=CY,"Cyprus",
$If(<Release Country>=CZ,"Czech Republic",
$If(<Release Country>=DJ,"Djibouti",
$If(<Release Country>=DM,"Dominica",
$If(<Release Country>=DO,"Dominican Republic",
$If(<Release Country>=DZ,"Algeria",
$If(<Release Country>=EC,"Ecuador",
$If(<Release Country>=EE,"Estonia",
$If(<Release Country>=EG,"Egypt",
$If(<Release Country>=EH,"Western Sahara",
$If(<Release Country>=ER,"Eritrea",
$If(<Release Country>=ET,"Ethiopia",
$If(<Release Country>=FJ,"Fiji",
$If(<Release Country>=FK,"Falkland Islands",
$If(<Release Country>=FM,"Federated States of Micronesia",
$If(<Release Country>=FO,"Faroe Islands",
$If(<Release Country>=GA,"Gabon",
$If(<Release Country>=GD,"Grenada",
$If(<Release Country>=GE,"Georgia",
$If(<Release Country>=GF,"French Guiana",
$If(<Release Country>=GG,"Guernsey",
$If(<Release Country>=GH,"Ghana",
$If(<Release Country>=GI,"Gibraltar",
$If(<Release Country>=GL,"Greenland",
$If(<Release Country>=GM,"Gambia, The",
$If(<Release Country>=GN,"Guinea",
$If(<Release Country>=GP,"Guadeloupe",
$If(<Release Country>=GQ,"Equatorial Guinea",
$If(<Release Country>=GS,"South Georgia and the South Sandwich Islands",
$If(<Release Country>=GT,"Guatemala",
$If(<Release Country>=GU,"Guam",
$If(<Release Country>=GW,"Guinea-Bissau",
$If(<Release Country>=GY,"Guyana",
$If(<Release Country>=HK,"Hong Kong",
$If(<Release Country>=HM,"Heard Island and McDonald Islands",
$If(<Release Country>=HN,"Honduras",
$If(<Release Country>=HR,"Croatia",
$If(<Release Country>=HT,"Haiti",
$If(<Release Country>=HU,"Hungary",
$If(<Release Country>=ID,"Indonesia",
$If(<Release Country>=IE,"Ireland",
$If(<Release Country>=IL,"Israel",
$If(<Release Country>=IM,"Man, Isle of",
$If(<Release Country>=IN,"India",
$If(<Release Country>=IO,"British Indian Ocean Territory",
$If(<Release Country>=IQ,"Iraq",
$If(<Release Country>=IR,"Iran",
$If(<Release Country>=IS,"Iceland",
$If(<Release Country>=JE,"Jersey",
$If(<Release Country>=JO,"Jordan",
$If(<Release Country>=KE,"Kenya",
$If(<Release Country>=KG,"Kyrgyzstan",
$If(<Release Country>=KH,"Cambodia",
$If(<Release Country>=KI,"Kiribati",
$If(<Release Country>=KM,"Comoros",
$If(<Release Country>=KN,"Saint Kitts and Nevis",
$If(<Release Country>=KP,"North Korea",
$If(<Release Country>=KR,"South Korea",
$If(<Release Country>=KW,"Kuwait",
$If(<Release Country>=KY,"Cayman Islands",
$If(<Release Country>=KZ,"Kazakhstan",
$If(<Release Country>=LA,"Laos",
$If(<Release Country>=LB,"Lebanon",
$If(<Release Country>=LC,"Saint Lucia",
$If(<Release Country>=LI,"Liechtenstein",
$If(<Release Country>=LK,"Sri Lanka",
$If(<Release Country>=LR,"Liberia",
$If(<Release Country>=LS,"Lesotho",
$If(<Release Country>=LT,"Lithuania",
$If(<Release Country>=LU,"Luxembourg",
$If(<Release Country>=LV,"Latvia",
$If(<Release Country>=LY,"Libya",
$If(<Release Country>=MA,"Morocco",
$If(<Release Country>=MC,"Monaco",
$If(<Release Country>=MD,"Moldova, Republic of",
$If(<Release Country>=ME,"Montenegro",
$If(<Release Country>=MF,"Saint Martin (French part)",
$If(<Release Country>=MG,"Madagascar",
$If(<Release Country>=MH,"Marshall Islands",
$If(<Release Country>=MK,"Macedonia",
$If(<Release Country>=ML,"Mali",
$If(<Release Country>=MM,"Burma",
$If(<Release Country>=MN,"Mongolia",
$If(<Release Country>=MO,"Macau",
$If(<Release Country>=MP,"Northern Mariana Islands",
$If(<Release Country>=MQ,"Martinique",
$If(<Release Country>=MR,"Mauritania",
$If(<Release Country>=MS,"Montserrat",
$If(<Release Country>=MT,"Malta",
$If(<Release Country>=MU,"Mauritius",
$If(<Release Country>=MV,"Maldives",
$If(<Release Country>=MW,"Malawi",
$If(<Release Country>=MY,"Malaysia",
$If(<Release Country>=MZ,"Mozambique",
$If(<Release Country>=NA,"Namibia",
$If(<Release Country>=NC,"New Caledonia",
$If(<Release Country>=NE,"Niger",
$If(<Release Country>=NF,"Norfolk Island",
$If(<Release Country>=NG,"Nigeria",
$If(<Release Country>=NI,"Nicaragua",
$If(<Release Country>=NP,"Nepal",
$If(<Release Country>=NR,"Nauru",
$If(<Release Country>=NU,"Niue",
$If(<Release Country>=OM,"Oman",
$If(<Release Country>=PA,"Panama",
$If(<Release Country>=PE,"Peru",
$If(<Release Country>=PF,"French Polynesia",
$If(<Release Country>=PG,"Papua New Guinea",
$If(<Release Country>=PH,"Philippines",
$If(<Release Country>=PK,"Pakistan",
$If(<Release Country>=PM,"Saint Pierre and Miquelon",
$If(<Release Country>=PN,"Pitcairn Islands",
$If(<Release Country>=PR,"Puerto Rico",
$If(<Release Country>=PS,"Palestine",
$If(<Release Country>=PW,"Palau",
$If(<Release Country>=PY,"Paraguay",
$If(<Release Country>=QA,"Qatar",
$If(<Release Country>=RE,"Réunion",
$If(<Release Country>=RO,"Romania",
$If(<Release Country>=RS,"Serbia",
$If(<Release Country>=RW,"Rwanda",
$If(<Release Country>=SA,"Saudi Arabia",
$If(<Release Country>=SB,"Solomon Islands",
$If(<Release Country>=SC,"Seychelles",
$If(<Release Country>=SD,"Sudan",
$If(<Release Country>=SG,"Singapore",
$If(<Release Country>=SH,"Saint Helena, Ascension and Tristan da Cunha",
$If(<Release Country>=SI,"Slovenia",
$If(<Release Country>=SJ,"Svalbard and Jan Mayen",
$If(<Release Country>=SK,"Slovakia",
$If(<Release Country>=SL,"Sierra Leone",
$If(<Release Country>=SM,"San Marino",
$If(<Release Country>=SN,"Senegal",
$If(<Release Country>=SO,"Somalia",
$If(<Release Country>=SR,"Suriname",
$If(<Release Country>=SS,"Southern Sudan",
$If(<Release Country>=ST,"Sao Tome and Principe",
$If(<Release Country>=SV,"El Salvador",
$If(<Release Country>=SX,"Sint Maarten",
$If(<Release Country>=SY,"Syria",
$If(<Release Country>=SZ,"Swaziland",
$If(<Release Country>=TC,"Turks and Caicos Islands",
$If(<Release Country>=TD,"Chad",
$If(<Release Country>=TF,"French Southern Territories",
$If(<Release Country>=TG,"Togo",
$If(<Release Country>=TH,"Thailand",
$If(<Release Country>=TJ,"Tajikistan",
$If(<Release Country>=TK,"Tokelau",
$If(<Release Country>=TL,"East Timor",
$If(<Release Country>=TM,"Turkmenistan",
$If(<Release Country>=TN,"Tunisia",
$If(<Release Country>=TO,"Tonga",
$If(<Release Country>=TR,"Turkey",
$If(<Release Country>=TT,"Trinidad & Tobago",
$If(<Release Country>=TV,"Tuvalu",
$If(<Release Country>=TW,"Taiwan",
$If(<Release Country>=TZ,"Tanzania",
$If(<Release Country>=UA,"Ukraine",
$If(<Release Country>=UG,"Uganda",
$If(<Release Country>=UM,"United States Minor Outlying Islands",
$If(<Release Country>=UY,"Uruguay",
$If(<Release Country>=UZ,"Uzbekistan",
$If(<Release Country>=VA,"Vatican City",
$If(<Release Country>=VC,"Saint Vincent and The Grenadines",
$If(<Release Country>=VE,"Venezuela",
$If(<Release Country>=VG,"British Virgin Islands",
$If(<Release Country>=VI,"Virgin Islands",
$If(<Release Country>=VN,"Vietnam",
$If(<Release Country>=VU,"Vanuatu",
$If(<Release Country>=WF,"Wallis and Futuna",
$If(<Release Country>=WS,"Samoa",
$If(<Release Country>=XC,"Czechoslovakia",
$If(<Release Country>=XG,"German Democratic Republic (GDR)",
$If(<Release Country>=XK,"Kosovo",
$If(<Release Country>=YE,"Yemen",
$If(<Release Country>=YT,"Mayotte",
$If(<Release Country>=YU,"Yugoslavia",
$If(<Release Country>=ZA,"South Africa",
$If(<Release Country>=ZM,"Zambia",
$If(<Release Country>=ZW,"Zimbabwe",
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

example of use for searching for a release on discogs
Code
https://www.discogs.com/search/?type=all&title=<Album>&artist=<Album Artist>&format=<Release Media>&country=<Virtual Tag Release Counrty>
(https://i.imgur.com/WawGg9Q.png)(https://i.imgur.com/9BCLfw6.png)
Title: Re: MusicBrainz Picard q & a thread
Post by: ewan on March 14, 2024, 04:22:24 PM
Example script for writing multi-valued tags to m4a file without changing the way vorbis or id3 metadata is written. The script itself already contains possible multi-valued tags or tags with ";", so you can simply copy it into the Picard settings.
Code
$if($eq(MPEG-4 Audio \(AAC LC\),%_format%),
$set(title,%title%)
$set(artist,%artists%)
$set(album,%album%)
$set(albumartist,%_albumartists%)
$set(releasetype,%releasetype%)
$set(publisher,%publisher%)
$set(catalognumber,%catalognumber%)
$set(genre,%genre%)
$set(arranger,%arranger%)
$set(composer,%composer%)
$set(engineer,%engineer%)
$set(lyricist,%lyricist%)
$set(mixer,%mixer%)
$set(producer,%producer%)
$set(writer,%writer%)
$set(work,%work%)
$set(comment,%comment%)
$set(isrc,%isrc%)
$set(subtitle,%subtitle%)
$set(contentgroup,%contentgroup%)
)