Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2010, 12:12 AM   #1
clockmaker
Member
clockmaker began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
Different save options

1. May be it is a dumb question: What is the difference between the second and third tabs for add/save in preferences. Saving books vs. sending to Device? It appears that for saving the books in Calibre library, Adding books tab is only effective.

2. I use
(?P<title>.+)-(?P<author>[^_].+)-(?P<series>[^_].+)-(?P<series index >[^_].+)
in the adding books and
{author_sort}/{series}/{authors} - {title} - {series} - {series_index}
in the saving books (and in sending to device tab also); but the series index does not show up. I must be doing something wrong in the regex strings!

3. Is it possible to automatically skip the missing item in the file name. I am using the - x - for the missing string like {series}.

Thanks for the answer.
clockmaker is offline   Reply With Quote
Old 08-28-2010, 03:41 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,016
Karma: 3679628
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Ubuntu Linux, Cybook Opus, Motorola Xoom with Mantano Premium
1. As the name implies, the second tab is used to specify how to save books to disk, outside the Calibre Library, the third is used to specify how to send books to the device. Depending on how you navigate among the files on your device, you may wish to use some special structure. On disk you may have other needs.

When you add books to the Calibre Library, neither of the two last tabs are relevant. Just the first.

2. The regexp-string you use to add a book, and read information from the filename, must match the acual filename. So if the file has the author first in the filename, then the regexp must also read that first. In your save template you save the authors name before the title, but in the regexp used to read the filename you try to read the title first in the filename. Note that directory names are not used when reading information from the filename.

Also if there happens to be "-" in the title or in the author name, then the regexp will be fooled. Try to match the spaces as well as the "-" to make the regexp harder to fool.

3. Yes. But only if you don't use a separator between the empty elements. This is the reason why it is good to have different templates for saving to disk and for sending to device.

When you send your files to the device unused parts will become an empty string. So if a book doesn't belong to a series, {series} and {series_index} will not be written. But if you have {series} - {series_index} then the "-" will be added to the filename. So don't use a "-" between parts that may be empty, when sending to the device.

When you send to disk and you are going to read back the information from the filename, that can be a problem. So don't. This is no problem for me, since I am happy to keep my books in the Calibre Library, along with the metadata. And only send to my device now and then.
Adoby is offline   Reply With Quote
Old 08-28-2010, 06:12 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,768
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by clockmaker View Post
{author_sort}/{series}/{authors} - {title} - {series} - {series_index}
in the saving books (and in sending to device tab also); but the series index does not show up.
This Save/send templates are used for formatting the file name on sending to your device or saving to disk. I bet the file name on your device does have the series index. This template will not affect how the title is displayed on your device, because your device uses the metadata for the title.
DoctorOhh is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Considering Nook? Other options available. rash.m2k Which one should I buy? 5 04-23-2010 11:23 PM
Save File location and Save As question DougFNJ Calibre 0 09-17-2009 04:56 PM
reset options oncdoc Calibre 2 09-05-2009 08:14 AM
SD Memory options? Abisha Sony Reader 14 10-01-2008 09:54 AM
Shipping Options bob_ninja Bookeen 13 11-07-2007 11:12 AM


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


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