INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Cmagic on February 23, 2008, 07:41:52 am
-
Hi,
I'm trying an expression for renaming files in Rename Files from Properties and I'm stuck with a problem.
When used in Rename Files from Properties, this simple expression: If(IsEmpty([Album Artist]), Empty, Full)
always return 'Full' regardless of the value of the field (Album Artist) !
When used in other locations (e.g. Current view) it works as it should returning Empty when the field is empty and full otherwise.
Are there any restrictions in expressions or Fields in Rename Files from Properties ?
Or is just me doing something wrong ?
Thanks for any clue on this,
Have a nice week-end,
Christian
PS: looks like this forum is very smart, automatically translating "R F F P" to "Rename Files from Properties" Ils sont trop forts ! ;)
-
rename files from properties uses "unknown" for empty database values.
this is something it needs to do to prevent errors occurring by trying to create windows folders with no name.
To make it work for you, use:
if(isequal([album artist]),unknown,8),Empty,Full)
-marko.
-
Thanks Marko,
It's working now...
Glad we have the interact ! I could have struggled with this one for a while as it is not very intuitive.
Again thanks and have a nice w.e.
Christian