Renamer - the file name contains "note"
#1
Hello
I try to insert "note" in the file name in a quite specific way but somehow I fail.
note:
1 - "A"
2 - "B" - all other than "A"
3 - the "note" field is empty
If "A" is  - (#A)
If different then  - (2 # B)
If empty, nothing

Try:
${if movie.note = "A"}(#A)${else}${end} ${if !movie.note = "A"}(2#B)${else}${end}
it works - but if the note field is empty it gives the result (2#) - and I need the "note" field to be empty - nothing added to the file name

How to improve it?
#2
Does this work?

${if !movie.note}${else}${if movie.note = "A"}(#A)${else}(2#B)${end}${end}
#3
Thanks for the advice
I am at work for now, I will test it thoroughly on Friday.
But when I look at it - it makes sense and will probably work.
This is what I ment.
#4
OK Checked and works Smile
Thanks again for your help.

Logout Mark Read Team Forum Stats Members Help
Renamer - the file name contains "note"0