If and else statements?

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

bobthegoat2001
Posts: 31
Joined: Thu Sep 20, 2007 12:28 am

If and else statements?

Post by bobthegoat2001 »

I currently use this on where to transfer my music to my player: \Music\<Album Artist>\<Album> $if(<Year>,[<Year>],)\$if(<Track#>,<Track#>. )<Title>

I was wondering if their was a way that I could show the <album artist> if there isn't any <track#>, like this "System of a Down - Toxicity" or like this if there is a track number "12. Toxicity"
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: If and else statements?

Post by Mizery_Made »

The $if() function has three parameters. The test, what you want there if the test is positive, and then what you want there if the test fails. Thus, "$if(<track#>,<track#>. ,<album artist> - )<title>" for the filename should do the trick for you. If I'm understanding your problem correctly.
Post Reply