ARTIST to ALBUMARTIST, but only when ALBUMARTIST is blank


#1

Hi

I hope somebody can help. I want to update all my ALBUMARTIST fields from ARTIST but only when ALBUMARTIST is blank.

I searched the forum and tried making an format value action but I can't find where I can specified "only when blank". Looking at the functions available, i assume I will have to check the length of ALBUMARTIST and see if it is equal to zero. Can anybody help?

Thanks


#2

Action: Format Value
Field: ALBUMARTIST
Formatstring: $if2(%albumartist%,%artist%)

OR

Filter (F3): NOT %albumartist% PRESENT

Action: Format Value
Field: ALBUMARTIST
Formatstring: %artist%


#3

Thanks, this did the trick.