Quote:
Originally Posted by StreakyG
Is it possible to create a custom column to show booksize in eg Bytes? When comparing for possible duplicates in my library, MB is too coarse to assume the duplication.
|
I agree with dwanthy that you probably don't want to use the size data to check for duplicates. The find duplicates plugin does a more thorough job. But putting that aside ...
The template for a "column built from other columns" that shows the size information in bytes is
Code:
program: booksize()
This value is the sum of all the formats associated with a book, which might not be what you want. The template to show the sizes of the individual formats is
Code:
program: formats_sizes()
See the
Using General Program Mode documentation for more information on templates that begin with "program:" The documentation for the two functions
is available here.
Note that the second template (formats_sizes) can cause performance problems when used in large libraries, especially if the column is sorted. The first template will slow things down a bit, but not as much as the second.