View Single Post
Old 03-04-2014, 03:09 PM   #2
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,363
Karma: 83238367
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Use multiple configuration directories, which you are already doing.

Or manually change the template each time you switch libraries.

Keep in mind that you can have a general template, as well as specific overriding templates per device type. Also, the MTP device interface can be set up separately per device.

I use a special template that chooses how I want to save each book depending on the data I have saved in custom columns. If a book has anything in the #origfilename custom column, it's an Amazon book and I use the contents of that column as the template, if that field is empty, I fall back on the generic "Author_Sort/Title - Author" template.

Code:
program:

ifempty(
	field('#file'),
	template('[[author_sort:sublist(0,1,&)]]/[[title]] - [[authors:sublist(0,1,&)]]'))
Perhaps there is something you can use to select which template to use based on data about the book? I'd be happy to help you work out the right template, we can discuss it on the dedicated thread so everyone can see/learn from it. See here: https://www.mobileread.com/forums/sho...d.php?t=100949

Last edited by eschwartz; 03-04-2014 at 03:13 PM.
eschwartz is offline   Reply With Quote