Hello,
if you select a number of files and the values differ for a field, Mp3tag will display < keep > for that field. If the value is the same for all files, it just displays the value itself.
Is it possible to perform such a check in export, too? I want it to write the value if it's the same for all selected files, but write some fixed value like "Various" if it differs.
I tried it with a user-defined variable and a seperate loop like this:
$loop(%_app%)$puts(check,%field%)$loopend()
$loop(%_path%)$if($eql($get(check),%field%),,$puts(check,Various))
$loopend()$get(check)
Setting the variable first (so it can be checked against), then check if it matches for each track. If it doesn't, set it to "Various". Then, after the loop has ended, get the value.
For some reason it always sets the variable to "Various" as soon as I put $puts(check,Various) in the false-part of that $if-function, regardless if the false-part actually comes in play or not. If I place something else there, say a plain text "not equal", it works perfectly.
I hope I'm just missing something obvious or doing something wrong. Thanks in advance.