View Single Post
Old 08-08-2011, 07:28 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by paulfiera View Post
Hi guys

I am currently saving many books to disk. Once I am satisfied with how some books look and if I am not planning to read them in the near future, I save them to disk, zip them and move them to my Books Collections folder in my WHS.

I am currently using two templates:

Template one:
Code:
{authors}/{title}/{title} - {authors}
for books with no series

and template two:
Code:
{authors}/{series}/{series_index} - {title} - {authors}
for books with series.

The thing is that every time I have to change the template I have to got to Preferences, change the template and save.

I was wondering if it could be possible to choose the template at the moment of saving to disk, something like, "Save to disk using... -> Template one".

I don't know if a plugin exist already for doing this.

Another thing, where is the list of recently used templates stored? I'd like to clean it up and just keep the two mentioned templates - right now there are about 9 different templates.


Many thanks!
PF
Mine (coded by chaley) is a little more complex:

1)Series are not all by the same Author (so starting with Author is a poor idea)
2)There is a count limit on top level file/folder names
3)My device booklist is shown by folder. 8 entries at a time. (sort is only by Alpha or Date modified) I use Alpha
So I use:
00NoSeries (rises to the top of the list) folder when no series
and
<first_letter>-series (to group the series that start with the same letter) when it has a series name


Code:
program: 
test(	field('series'), 
	strcat(
		substr(field('series'), 0, 1),
		template("-series/{series}/{series_index:0>2s}-{title}_{id}_{authors}")
	),
	template("00noseries/{author_sort[0]}_authors/{authors}/{title}_{id}-{authors}")
)
theducks is online now   Reply With Quote