INTERACT FORUM
More => Old Versions => Media Center 14 (Development Ended) => Topic started by: miserythemexican on September 19, 2009, 08:48:10 am
-
i have just added the field [Remix] to contain the name of the remixing artist, if any, and want something like this --If(IsEmpty([Remix]),,[Remix] Remix)-- on the end of my current filename rule so that if a track has an artist name in [Remix] it appends the filename with "<so-and-so> Remix", otherwise leaves the filename as is. But for tracks with a blank [Remix] field this expression still appends "Unknown Remix Remix".
For two tracks, one with a string in [Remix], one with the field blank
If(IsEmpty([Remix]),true,false) returns false for both, and
If(IsEmpty([Remix], 1),true,false) returns true for both
Can anybody offer a correction for me because i cant for the life in me see where i've gone wrong!
?
-
you could try
If(IsEmpty([Remix,0]),,[Remix] Remix)
if that does not work maybe:
If(isequal([Remix],Unknown,7),True,False)
:)
gab
-
The former of those works a treat...
I guess MC formats a blank fields to 'Unknown...'. Kinda makes sense. I had the same problem with IsEmpty([Year]) and used IsRange() instead but IsEmpty([Year], 1) works too.
Cheers for that gab!