View Single Post
Old 06-24-2016, 12:35 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You can use the in_list() function fro the manual to see if a specific format is available for that book, and modify the filename save template based on that.

The filename save template has a default value set in preferences, but if you have configured your device (see screenshot) you will need to set it there additionally/instead.
That manual page applies to any templates in calibre -- templates are used in Bulk Metadata Edit, sending to device (both filename save templates and plugboards), custom columns built from other columns... however, NOT for organizing the library on the filesystem. You have no control over how calibre stores its own internal copies of your books.

...

Plugboards have absolutely nothing to do with filenames. They cannot affect filenames in any way.
However, different ereader apps/devices use different methods to show your books. Some use the metadata (modified by plugboards) and some use the filename (modified by filename save templates).
Attached Thumbnails
Click image for larger version

Name:	calibre-configure-device.png
Views:	393
Size:	29.3 KB
ID:	149646  

Last edited by eschwartz; 06-24-2016 at 12:38 PM.
eschwartz is offline   Reply With Quote