Is there a reason we can’t see and work with the filesize tag or variable?
There is no filesize variable in the current Picard.
But the good news is that it will be available in Picard 3
A Track Metadata plugin should be easily writeable to provide this in a backwards compatible fashion.
I have tried using the View Script Variables plugin but even that can’t read the filesize attribute. I’ve been going through the plugins source code but can’t for the life of me figure out the issue with just that 1 file property. Any other file property is usable in picard as a variable and/or a tag except filesize.
This would be a great tool to help identify duplicate files.
The View Script Variables plugin (which I wrote) does exactly what it says on the can - it shows you metadata variables that can be used in scripts - both hidden and shown in the metadata pane. filesize is not (currently) one of the values stored as a script variable so it is not shown.
However a plugin should be possible to easily be written to create such a variable (but I don’t have the time to do it myself).