Quantcast
Channel: MobileRead Forums - Calibre
Viewing all 31765 articles
Browse latest View live

Am I doing it right?

$
0
0
Hello, everyone, I hope someone can help me with a small problem re custom columns/plugboards/template language

This is what I wanted to do:
As I'm using eBooks reader app (same as bluefire reader) on my 1st gen iPod Touch to read, I needed to do something that would make me see the series on the title, because there's no series sorting/info there, so following instructions here on MR (general metadata part) I did this (and it worked, keep reading :D! ):

created custom column:
Code:

lookup name: initials
column heading: initials
column type: column built from other columns
template: {series:re(([^\s])[^\s]+(\s|$),\1)}

created 2nd custom column:
Code:

lookup name: shortened
column heading: shortened
column type: column built from other columns
template: {series:shorten(4,-,4)}

then, I put this

Code:

{series:lookup(.\s,#initials,.,#shortened,series)}{series_index:0>2s| [|] }{title} - {authors}
on the save template space of the "saving books to disk" in preferences.

and I put this:

Code:

{series:lookup(.\s,#initials,.,#shortened,series)}{series_index:0>2s| [|] }{title}
in metadata plugboard, with format "any format" device "save to disk" and destination field "title".

Now, it seems like it's working, so when I save an Epub to disk I have it neatly as
PFRWibo [16] Ink and Honour - moonblossom.epub
because it's book 16 of the "Prompt Fills, Remixes, Works inspired by others" series
and also when I drag and drop it to the documents folder of my reader app it shows as "PFRWibo [16] Ink and Honour"
which is awesome.

I have only a few problems with determinate shortened / initials series names, like, for instance: (yes yes it's all in my sherlock fanfic library) ^_^

1) Sherlock: With A Thousand Lies (And A Good Disguise)
becomes
initials: SWA TL(A GD
shortened: Sher-ise)

2) Sherlock and Mycroft - early years
initials: SaM- ey
shortened: Sher-ears

3) This is where I began
initials: TiwI b
shortened: This-egan

4) El sueño de la razón (The dream of reason)
initials: Esdlr(dor
shortened: El s-son)

5) A Cure for Boredom Universe
initials: A CfBU
shortened: A Cu-erse

and so on, so, the problem is for
a) single letters and symbols like "A" "I" "-" because they then have spaces after them (like "A CfbU")
b) parenthesis that are treated like part of the next or previous word (like: "Esdlr(dor"

is there a way to fix this? a way to have, for instance, for the initials:
1) SWATL(AAGD)
2) SaM-ey
3) TiwIb
4) Esdlr(Tdor)
5) ACfBU
and the likes?
(as for the shortened version, I can live with small imprecisions, nevermind)

I should mention that the instructions here had another custom column to build first, that was the strip_series one, so that we could avoid the various "The" "A" "An" words when building the initials and shortened versions, BUT I've always wanted to keep them, I don't like when series/titles are "Cure For Boredom Universe, A" … I hate it. Probably because it's not my first language, and when I think of a title, I start with the "A" part :P
So, I tweaked my calibre to my likings and put "strictly alphabetic" in Control formatting of title and series when used in templates and also in the library display.

So when building the custom colums, I skipped that first strip series one and only did the other 2, putting "series" instead of "stripped series" and as I said, it works. I only have those small problems :D

Anyone knows how to do this? I was only able to reach this far because of the detailed instructions, I don't understand this language very much :)

Thank you ;)
and thank you Kovid (& everyone working on it) for Calibre, it totally changed the way I read and made it much better and easier to organize and keep track of things. And I can customize it so much, I changed the date display, use multiple colors, created custom columns, use plug-ins, nested tags, edit the TOC, polish books, convert books (now even docx, that was lovely), use the virtual libraries a lot, and multiple libraries... and I've barely scratched the surface, right? I love it. It's going to make me coffee next :thumbsup: :thumbsup:

I'm sorry for the vague title, but I didn't know if this was pertinent to plugboard, custom columns, template language... or what :o

Kindle Fire HD 7

$
0
0
I was going to purchase a kindle fire hd 7. From what i can tell on the forum and elsewhere that calibre does not support kindle fire hd 7 on a mac? Is that correct? (I don't see a plug in for it in calibre, just the kindle fire). Will this capability be added?

Calibre and Google books

$
0
0
Hi there!

Does anybody know a way of connecting calibre with the so called My Books in Google Books?

Thanks

KeyError when changing libraries

$
0
0
Win7 64-bit v0.9.35

Had 2 libraries. Dave and NotMe. Switched to NotMe and used Library icon to rename Dave to Me.

Now if I switch to NotMe no problem. If I switch to Me I get

Code:

calibre, version 0.9.35
ERROR: Unhandled exception: <b>KeyError</b>:u'Me'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\__init__.py", line 381, in dispatch
  File "site-packages\calibre\gui2\actions\choose_library.py", line 494, in switch_requested
  File "site-packages\calibre\gui2\ui.py", line 612, in library_moved
  File "calibre_plugins.view_manager.action", line 51, in library_changed
  File "calibre_plugins.view_manager.action", line 45, in initialization_complete
  File "calibre_plugins.view_manager.action", line 92, in check_switch_to_last_view_for_library
  File "calibre_plugins.view_manager.action", line 120, in switch_view
KeyError: u'Me'

It does switch libraries, but shows wrong library name under icon.
Reboot does not help.

I get this if I use Library maintenance -> Check library
Code:

calibre, version 0.9.35
ERROR: Unhandled exception: <b>KeyError</b>:u'Me'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\actions\choose_library.py", line 426, in check_library
  File "site-packages\calibre\gui2\ui.py", line 612, in library_moved
  File "calibre_plugins.view_manager.action", line 51, in library_changed
  File "calibre_plugins.view_manager.action", line 45, in initialization_complete
  File "calibre_plugins.view_manager.action", line 92, in check_switch_to_last_view_for_library
  File "calibre_plugins.view_manager.action", line 120, in switch_view
KeyError: u'Me'

Output of fetch news gets twice larger

$
0
0
Haven't updated Calibre for a while. I found that the output file of news fetch got about twice larger than before after updating Calibre to the latest version? Has the image quality improved?

32 GB SDHC not recognised

$
0
0
I have a Sandisk 32 GB MicroSDHC in my Sony PRS-T2.
The card is recognised by Windows 7 Home Premium 32, by the PRS-T2 and by the Sony E-Reader software, but Calibre doesn't show the card.
I convert all PDF's to ePub with Calibre (because the PRS-T2 has problems with PDF) but then I have to use Sony's software to put it on the card.
Can I do something to solve this?
Thank you for every answer.

Calibre2opds duplicating image files intended?

$
0
0
Hi there,

I'm using Calibre2opds to publish my catalogue, using Dropbox as a destination folder for that purpose.

I access those files from the Android world, re-sizing covers and using thumbnails.

I noticed, while doing a Calibre library check, that Calibre2opds, through re-sizing and creating thumbnails, is creating those files twice: once in the calibre library (which doesn't know all those files) and finally in the destination folder structure.

Is this redundancy intended? Wouldn't it be sufficient to create the image-files once in the folders used for the publication? I only mind in case it could somehow impair the integrity of the Calibre library at some stage.

Thanks and happy reading!
miquele

Question on the output format list order when converting

$
0
0
I often convert ebooks to RTF so I can reformat them for easier reading for my eyes. However the listed order of Output formats seems to be fixed (starting with EPUB, MOBI, AZW3, ...) and RTF is way down in the list so I have to scroll down past the formats I don't use to get to RTF. Is there a way the user can change the order of these output formats? If not could this be incorporated in a future version?

Screen thieve

$
0
0
This minus sign (-) stole a screen column, space is use full in the book information area. Can It be removed?

Attached Thumbnails
Click image for larger version

Name:	Screen thieve.jpg
Views:	N/A
Size:	17.6 KB
ID:	107489  

Auto send to device on start

$
0
0
Hi there!

I am using Calibre with Calibre Companion.
I don't understand why my Android wouldn't sync with PC automatically when I tap on ''Connect" --> "As Wireless Device". I want all my [recently added] books that are in my PC Calibre library be automatically uploaded to my Android. In Calibre I went to Preferences --> Sending Books to Device --> Metadata Management --> Automatic Management.

But still, I have to press "Send to Device" button every time I need to update books on my Android.

How can I make it to do Automatically on connecting between Calibre and CC?

Selecting autoconversion settings

$
0
0
If you try to send a non-device-supported file to your ereader, calibre helpfully offers to convert it. However, I can't seem to figure out how to select specific "autoconvert settings"; neither the granular stuff like whether to add a TOC or smarten punctuation nor even the most basic stuff... like what format I want it converted into. For Kindles it seem to automatically select MOBI as the output, but I'd much prefer azw3... and have the same kind of control over conversion preferences that are afforded by a conversion that's saved to one's computer. Can anyone tell me how to do this?

sending CBR/CBZ to ereader device fails with Nook HD+

$
0
0
Hi

I am trying to send bunch of cbr files to my Nook HD+ that connects wirelessly via Calibre Sync app on Adnroid to Calibre Wireless server. But calibre seems to send them as epub. I enabled customized the device plugins of Nook,Nook color and Android ones to accept cbr. However I suspect that neither of these interfaces are reconized as the right device driver. So I assume it must be some wireless device that I cannot find it here.

any suggestions?

thanks

Calibre Sync on Android stopped working properly with recent version of Calibre?

$
0
0
Hi

I use Calibre Sync on Android, it is super nice. Right now I am using 9.36 and Calibre Sync conects to server fine. However it is not able to get the list of books, this ability was working fine prior to 9.36 (not sure which version) but it was working fine until couple weeks ago. I was able to load the list of books in Calibre Sync thus download them withing Ca Sync on the tablet . But this ability has been diminished with 9.36.

I realize this is Calibre forum not the Androidm app one but I assume that there are other users who might be on the same ship, and might offer solution. Although this might be a Calibre related error

thanks

add a custom field to the basic metadata

$
0
0
Hi, sorry if my question was already in the foruns but I searched but couldn’t find it.

Is there a way to add a custom field to the basic metadata menu? (see photo)
I know that the custom metadata are aded in a new tab Custom metadata, but I would like to put #shelves in the basic menu since this for me it’s the most important of my custom metadata.
The basic metada has several fields that I don’t care about is it posible to take those out and add the ones that I want?

Thank’s in advance.

Attached Thumbnails
Click image for larger version

Name:	basic.jpg
Views:	N/A
Size:	217.3 KB
ID:	107498  

Problems connecting two libraries

$
0
0
Hello,
lately i can't connect my two libraries in order to transfer some books.
The little orders icon is working for hours till I get the following error message:

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 476, in _books
File "site-packages\calibre\devices\usbms\driver.py", line 246, in books
File "site-packages\calibre\devices\usbms\driver.py", line 391, in sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 390, in write_prefix
File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 123, in encode_to_file
File "json\__init__.py", line 250, in dumps
File "json\encoder.py", line 209, in encode
MemoryError

Last week it still worked fine
What to do?

One Device at a time

$
0
0
I have 3 different devices that my wife and I use at any given. It appears that calibre can only support one device. I can only select one device. Is this true?

Kobo Mini: Error communicating with the device, ver. 0.9.36

$
0
0
Hi, I updated Calibre today to the latest version, and now I have problem connecting the device - I get the following error message:
Quote:

calibre, version 0.9.36
ERROR: Error: Error communicating with device

database disk image is malformed

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 476, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 1702, in books
DatabaseError: database disk image is malformed
everything was fine with the previous version: any suggestions?

Importing books - getting all metadata

$
0
0
Sorry for a newbie question:

I am importing books into Calibre

Most of them have metadata information, but some do not.
Then they are imported as Unknown author, Unknown Title, and even their files renamed to unknown.
(yes, I know, the list of such books is given).


In import settings I see this

- Read metadata from file contents rather than file name.

Unfortunately, a bit different option is needed:

- Read metadata from file name only when metada from file content is not available

BTW, even better would be to use this option:
- get from file names the metadata fields that are not present in file content.

Or perhaps, if metadata in file content is often wrong or in wrong fields, the opposite option would be useful - to give priority to file names, but take other stuff from file content.

But I can find no such settings.


Anyway, I tried to get metadata from file contents.
Unfortunately the ready-made regular expressions do not even cover the most popular e-book file naming convention.

So I made an improved regular expression, maybe it will be useful for others too:

(?P<author>[^_-]+) -?\s*(\[|\()?\s*(?P<series>[^_0-9\[\(-]*)(?P<series_index>[0-9]*)\s*(\]|\))?\s*-\s*(?P<title>[^_\[\(]+)\s*\[?\s*(?P<publisher>[^\]]+)\s* ?

It handles correctly most of the books that adhere to the naming conventions, even allows quite significant variety.
But there are cases that it does not cover yet:

1. when a range is given in a series:

Some Author - [Some Series 01-05] - Some Title Boxed Set (epub).rar

I don't know what to do here: series number can be only a single number,
perhaps not to enter any number and to try to move 01-05 to the end of the title?

2. when the name of a series begins with a number (this is a fake example):

Angel Devil - [666 Devil Street 01] - Devil Moves In (mobi).mobi

That is a serious complication.
Possible solution - do not support this format:

author - series nr - title
but only these:

author - [series nr] - title
author - (series nr) - title

That probably would easily allow to have series name starting with a number.
And besides, the naming convention calls for [series name] in brackets anyway.
Still, this expression covers most of everything else.

Some possible publisher info or publisher series numbers moved to publisher.
At least saved somewhere.
Again, a completely fake example:

Reeva Shmadams - The Smashing Dreamcrasher [HT-429, NHK-824] (v1.1) (epub).rar

So, in this example, I do this:

Publisher: HT-429, NHK-824

It could be changed to use a different field, but which?
Because these are usually publisher's series with their numbers Publisher perhaps is OK.
Just to preserve this info somewhere.
Besides, sometimes there is only publisher's name in [] - so Publisher fits perfectly.

Anyway, maybe somebody would like to improve this regular expression further, or could offer suggestions what to do in those complicated cases.
Or can find other unsupported cases.

Any suggestions welcome

Metadata

$
0
0
Just wondering why if a book is part of a series. For example New Moon is book 2 of the Twilight Series. Why can't the series name and number within the series not be downloaded as part of the metadata and plugged into the series field?

Moving Only a Specific Format to Other Library

$
0
0
Hello,

I have looked around a bit and am unable to find the answer to this so far. I have many books in mobi that I have converted to epub. I generally only use the epub format for these books now but would like to move the mobi formats to a separate archive library so I have the originals. I have been unable to find a way to move just the one format to the new library other than to copy all the books to the other library and then delete the epub versions that get copied with the mobi versions. Am I missing something? The delete function lets you delete by format, am I missing where the copy function does the same?

Thanks!
Viewing all 31765 articles
Browse latest View live