Genre problem when exporting tracks

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

FunnyFish
Posts: 8
Joined: Fri Jun 06, 2008 11:29 am

Genre problem when exporting tracks

Post by FunnyFish »

Since upgrading to MM4 (1459), I've been having a problem that escapes me. Here comes the description...

If I have a track with the following genre tag:

abcd

And I export it using this script:

\$IF($FIRST(<Genre>),$FIRST(<Genre>)\)
$IF($FIRST(<Genre>,1,1),$FIRST(<Genre>,1,1)\)
$FIRST(<Album Artist>)\$FIRST(<Album>)\<Track#:3>. $FIRST(<Artist>) - <Title>

I get this result:

\abcd\abcd\Album Artist\Album\Track# - Artist - Title.Extension.

Which is of course wrong. MM seems to store a copy of the first genre in the second genre.

The only way I seem to be able to avoid this is by using the tag abcd;;, which "forces" an empty genre 2 tag. I have of course set the separator to ";" (semi-colon). What is boggling me is that I never had this issue with MM3.

All suggestions are welcome!

FunnyFish.
Lowlander
Posts: 56584
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Genre problem when exporting tracks

Post by Lowlander »

What about change $IF($FIRST(<Genre>,1,1),$FIRST(<Genre>,1,1)\) to $IF($FIRST(<Genre>,1,1) <> $FIRST(<Genre>),$FIRST(<Genre>,1,1)\)
FunnyFish
Posts: 8
Joined: Fri Jun 06, 2008 11:29 am

Re: Genre problem when exporting tracks

Post by FunnyFish »

Hi Lowlander,

Thanks for your suggestion, I have been wrestling with this strange bug for days, but this works like a charm.

I am still wondering about the implementation of the $FIRST command and/or the Genre tag, though: what might be the reason for this -to me- weird behaviour?

FunnyFish
Post Reply