Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2013, 12:11 PM   #16
fidvo
Addict
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 296
Karma: 1599870
Join Date: Jun 2012
Device: none
Quote:
Originally Posted by At_Libitum View Post
be prepared though, contrary to popular belief amongst those comfortable with Calibre, program mode templates ain't all that simple if you're not comfortable with the language, AND know a bit about python.
Very true. The hardest part of using Calibre is coming up with the right save-to-disk template. No way around that, though. The template system has to be complex in order to be powerful enough to cover all possibilities. And fortunately, you only have to set this up once and never worry about it again.
fidvo is offline   Reply With Quote
Old 10-24-2013, 01:02 PM   #17
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by LouieChuckyMerry View Post
EBooks/FIRSTNAME.LASTNAME/{year} - BookTiltle{year}/BookTitle{year}.extension
Any series I would create manually as:
EBooks/FIRSTNAME.LASTNAME/{year-year} - SeriesTitle{year-year}/{year} - BookTitle{year}/BookTitle{year}.extension
Any book(s) with multiple authors would be stored in:
EBooks/VARIOUS.AUTHORS/{year} - BookTitle{year}/BookTitle{year}.extension
That's it, books are sorted chronologically by author. Could you point me to a good tutorial for save templates so I can attack ?
I think that this is possible to do in template language.

If you have the books named this way, it should be possible to create a script that will make one long filename from your complicated path and then you can configure Calibre to extract metadata from the long file name when you drag and drop the file into Calibre.
The script would have to be made using some external tool. (I use Krusader file manager in Linux for similar task)

The configuration dialog lists all the variables and there is also Template editor that has staggering number of additional options.

I personally am using following template
{authors}/{series}/{series_index:0>3s|| - }{title} - {authors}

The {series_index:0>3s|| - } means:
If there is no series, there is no series_index. In that case there is no string added before title. But if there *is* series, it will be left padded with zeros, like this: 001 or 075 followed by ' - '
kacir is offline   Reply With Quote
Old 10-24-2013, 03:42 PM   #18
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by At_Libitum View Post
be prepared though, contrary to popular belief amongst those comfortable with Calibre, program mode templates ain't all that simple if you're not comfortable with the language, AND know a bit about python.
I totally agree. I find quite easier to define a python function which makes what I need than trying to use the program mode.
Terisa de morgan is offline   Reply With Quote
Old 10-24-2013, 07:56 PM   #19
LouieChuckyMerry
Member
LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.LouieChuckyMerry ought to be getting tired of karma fortunes by now.
 
LouieChuckyMerry's Avatar
 
Posts: 17
Karma: 347166
Join Date: Oct 2013
Device: Kindle 4 NT
Quote:
Originally Posted by Adoby View Post
I assume that year-year means min and max year? That is something that the save template can't handle. It can only "see" the current book and the metadata that is downloaded and stored in the current book. The rest should be no problem. Just read the manual and search the forum.
"year-year" does mean minimum and maximum year but, as I typed earlier, any series, regardless of length, would only require me to manually make a single folder of my preferred format into which I'd drag the (hopefully) already properly labeled books in the series. Basically, if I (we ) can configure just one save template:


EBooks/FIRSTNAME.LASTNAME/{year} - BookTiltle{year}/BookTitle{year}.extension


where "FIRSTNAME.LASTNAME" is the author, "{year}" is the year published in brackets, and "BookTitle{year}" is the book title, with the first letter of every word capitalized and no spaces between words (and I've no need for anything special regarding "a", "an", "the", etc.), followed by the year published in brackets, then I'd be set, as about 97% of the file-folder renaming would be automated. Heck, I can even move everything to the folder "EBooks" on my external drive manually, so a template:


FIRSTNAME.LASTNAME/{year} - BookTiltle{year}/BookTitle{year}.extension

for example

FRANKLIN.TIBBETS/{1966} - BirthOfGreatness{1966}/BirthOfGreatness.epub


would be just fine. Also, for what it's worth, I don't care a lick about any actual metadata or tags beyond their need for creating a save template; as long as my book files and storage folders are properly labeled I'm good to go. Could I do something with custom tags involving the authors name, the year published, and the book title? Even if I have to input the book title without spaces and the year published in brackets manually, at least the renaming of the folders would be automated. Thanks again to everybody for their help, I really do appreciate it .

Last edited by LouieChuckyMerry; 10-24-2013 at 08:10 PM. Reason: Clarification
LouieChuckyMerry is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IMP GUI Converter/Editor mscott161 IMP 71 04-04-2015 06:10 PM
Calibre library creating back-ups stop__dreaming Calibre 1 06-03-2013 04:06 AM
Creating a virtual library KoGs Library Management 1 04-28-2013 05:45 PM
Creating a library in Calibre galadriel Calibre 5 09-16-2010 06:17 PM
PRS-500 C/C++ library for creating lrf cacapee Sony Reader Dev Corner 3 09-07-2007 05:13 PM


All times are GMT -4. The time now is 12:22 AM.


MobileRead.com is a privately owned, operated and funded community.