How do I make a conditional mask?

Get answers about using the current release of MediaMonkey for Windows.

Moderator: Gurus

Posts: 23
Joined: Mon Nov 18, 2013 3:15 pm

How do I make a conditional mask?

Post by chrisdukes »

I want to make a mask that moves and names files depending on which grouping they're in. All of my music is in 1 of 5 groupings: Album, Compilation, EP, Live, or Mix. So, I guess the mask should look something like this:

F:\Music\<Genre>\<Album Artist>\<Grouping>\(<Album> OR (<Artist> - <Album>))\<Track#> - <Title>

Album, EP, and Live all get (<Artist> - <Album>) for their music folder. Compilation and Mix just gets <Album>. I know I should be using an $if to make the mask conditional, I think, but I can't figure out the right way.
Also, links to tutorials are greatly appreciated I have been using these 2: ... ormats/4.0 ... escription
MediaMonkey Gold Lifetime v4.1.8.1751
51,500 Files @ 370GB
Windows 7 Ultimate SP1
Intel Core i7-3770k 3.5GHz, 16GB RAM
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: How do I make a conditional mask?

Post by Mizery_Made »

Code: Select all

$if(<grouping>=Mix,<Album>,$if(<grouping>=Compilation,<Album>,<Artist> - <Album>))
With this, it will check if the Grouping equals Mix, if it does then it will add <Album>
If it doesn't match, then it will check if Grouping equals Compilation. If it does, it adds <Album>
If neither of those conditions match, then it will add <Artist> - <Album>, this catching Album, EP and Live.
Post Reply