Help with script to send release type to Mediamonkey's custom tag

Hi, I’d love some help on this! I’m tagging with MB but autoorganizing/file-renaming with MM. In doing that, I’d love to extract release type (actually only album, compilation or live) from the tags and set them in MM’s Custom1. I tried using

$if($in(%releasetype%,compilation),$set(%custom1%,compilation))

but to no result. Maybe it isn’t possible to write to the custom tag from MB?
Any type of help would be much appreciated!

I think you currently can’t set these tags with Picard. Media Monkey stores those tags in a comment field with a description of Songs-DB_Custom1, Songs-DB_Custom2 etc. and the language set to XXX.

The closest you get with Picard would be:

$set(comment:Songs-DB_Custom1,test)

But Picard would set the language of the comment to eng and you currently cannot modify this. I think we either need a syntax that also allows setting the language or special handling of those media monkey tags.

2 Likes

I created a ticket for this:

2 Likes

Thanks for the help @outsidecontext, much appreciated! Just because I’m curious and a newbie to all this, why would Picard set the language to English? Not that it matters to me, just curious.
Also, I’m guessing you mean that the workaround could be that I inn Mediamonkey create a rule like if compilation in comment, then…?

Thanks again for taking your time including creating a ticket!

1 Like

Because the language needs to be set to something, and very few software outside supports setting it. That’s probably also because of other tag formats only have plain comment fields without language settings. If you see comments getting saved to ID3 most software just defaults to saving the language as English.

Probably. Not sure currently how MediaMonkey saves a normal comment. Easiest way to find out is to tag a file in MM with a comment and load it into Picard. Then you can see to what name Picard loads this comment to.

1 Like

I took a look how Media Monkey handles the comment, and again it stores it with language set to XXX. But it will also read the comment set with eng.

So as a workaround you currently could set

$if($in(%releasetype%,compilation),$set(comment,compilation))

And then look at the comment tag in MM.

2 Likes

Thanks again @outsidecontext for helping out. This is what I ended up with at the end:

$if($in(%releasetype%,compilation),$setmulti(grouping,compilation))
$if($in(%releasetype%,live),$setmulti(grouping,live))
$if($in(%releasetype%,soundtrack),$setmulti(grouping,soundtrack))

I decided to go for the grouping tag instead of comment. All seems to work well, thanks again!

1 Like

I don’t know if something has changed since this was first posted, but I can tag to custom1, custom2, etc., and these show up correctly in MediaMonkey.