Artist different than Album Artist


#1

Hi all,

How to use a filter to check/control whether Artist field is different than Album Artist field / or they match

Besides that i would like to also check if a given specifi field has a space at the ending like "Band Name "

Thanks in advanced



#2

Check for equal names:
"$if($eql(%artist%,%albumartist%),1,0)" IS 1
or set the IS 1 to IS 0 for names that are not equal.

Check for leading or trailing blanks (example for artist field:
"$if($eql($len(%artist%),$len($trim(%artist%))),1,0)" IS "0"

Edit: added "not equal" description


#3

I simply jus can't thank you enough :slight_smile:


#4

Windows Media Player has started moving folders around. It has also added a second featuring artist to some of the tracks tags, which weren't present before!

Tried:

"$if($eql(%artist%,%albumartist%),1,0)" IS 1
"$if($eql(%artist%,%albumartist%),1,0)" IS 0
"$if($eql($len(%artist%),$len($trim(%artist%))),1,0)" IS "0"
"$if($eql($len(%artist%),$len($trim(%artist%))),1,0)" IS "1"

Worked:
"$if($eql($len(%artist%),$len($trim(%artist%))),1,0)" IS "1"

Thanks.