View Single Post
Old 01-04-2012, 01:55 PM   #24
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,789
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Krogenar View Post
...but I can't get the hang of having Calibre create the directory structure. Also, there's the issue of multiple copies of the books in cases where a book is listed under multiple genres. But I'm prepared to have multiple copies of the same book for those instances if there's no way around it.

So for the Jules Verne Omnibus, the 'Send to Device' might generate the following:

../BOOKS/FICTION/SCIENCE-FICTION/JULES, VERNE/Jules-Verne-Omnibus.epub
../BOOKS/FICTION/CLASSICS/JULES, VERNE/Jules-Verne-Omnibus.epub

Is this result possible using the subitems function? Is anyone aware of some way of avoiding the duplication? Any advice or help would be greatly appreciated.
You cannot create more than one path for a given book within one save operation. The only way to create the duplicates is to do multiple save operations using different templates.

You can do this sort of thing with Sony collections, but to the best of my knowledge the Nook Color does not support something equivalent.
Quote:
Even just getting the books to sort into merely FICTION or NON-FICTION directories would be an improvement.
If you can guarantee that a book never appears in more than one top-level genre, then the following template will do it.
Code:
{#genre:subitems(0,1)||/}{author}/{title}
However, if it is possible that a book can have more than one top-level genre, such as Japanese.History and Military.History, then the above template will produce "Japanese, Military". This may or may not be what you want.

In the end, you need to decide what you want for all the possible cases, taking into account how your data will evolve. It may turn out that the simplest thing to do is to add another column (text, not tags-like) in which you manually enter the folder name to be used on the device.
chaley is offline   Reply With Quote