How do I make a conditional mask?

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

chrisdukes
Posts: 75
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:

http://www.mediamonkey.com/wiki/index.p ... ormats/4.0
http://www.mediamonkey.com/wiki/index.p ... escription
https://soundcloud.com/chris_dukes
------------------------------------------------
MediaMonkey Gold Lifetime v4.1.31.1919
Discogs Tagger 5.8
Magic Nodes 6.0.0.29
Windows 10 Pro
Intel Core i7-3770k 3.5GHz, 16GB RAM
Mizery_Made
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