Would it not work if you added .[file type] to [tag 1]?
[artist] - [album] - if(isequal([Track #],10,3),0[Track #],[Track #]) - [name].[file type]
then use the expression:
isequal([tag 1],[filename (name)],1)
....
I just tried this and it does work as expected. pretty neat huh
If you want a little more elegance than just a one or a zero, you could use:
if(isequal([tag 1],[filename (name)],1),matching,unmatched)
with the recent addition of If(...) modes 7 and 8, we can now make an expression based pane to show files with illegal characters, files that match the naming template, and those that don't.
I chose "illegal", "mis-matched" and "sync'd".
I called Tag1 "namecheck"
Create a new viewscheme (if you like, call it check file names) Use any panes you like, but one of them, the first one makes most sense to me, needs to be an advanced expression. I called mine filename check?.
the expression goes like so:
if(isequal([name],//,7),illegal,if(isequal([name],\,7),illegal,if(isequal([name],?,7),illegal,if(isequal([name],*,7),illegal,if(isequal([name],:,7),illegal,if(isequal([name],/",7),illegal,if(isequal([namecheck],[filename (name)],1),sync'd, mis-matched)))))))
----------------
a mildly interesting, not often needed viewscheme for the workshop only, i think