Questions tagged [calibre]

calibre is a free and open source e-book library management application.

calibre is a free and open source e-book library management application. Key features are:

  • Library Management
  • E-book conversion
  • Syncing to e-book reader devices
  • Downloading news from the web and converting it into e-book form
  • E-book viewer
  • Content server for online access to your book collection

See calibre homepage.

94 questions
1
vote
1 answer

Capturing string parts in RegEx

I would like to map different parts of a string, some of them are optionally presented, some of them are always there. I'm using the Calibre's built in function (based on Python regex), but it is a general question: how can I do it in regex? Sample…
zoltanh
  • 13
  • 3
1
vote
1 answer

Calibre server and FB2 mime type in feed

I run calibre-server in my local network that every one family member can access our home library. Calibre server returns FB2 files as of type "text/fb2+xml" in the feed. I have troubles to download FB2 files on my PocketBook Touch Lux 4 because it…
Nicolai
  • 5,489
  • 1
  • 24
  • 31
1
vote
0 answers

Calibre Author handling

Is it possible to attach some information to an Author (picture, bio, link to personal site, etc) and have it display on every book from that author? Author(s) seem to be "embedded" in each book. Am I missing something? Note: I'm trying to…
ZioByte
  • 2,690
  • 1
  • 32
  • 68
1
vote
1 answer

How do I make 'Custom Blocks' appear in .mobi version of a bookdown book?

I'm using bookdown to author a technical book. I've followed the format layed out in the bookdown book very closely and it looks good in epub, html, and pdf versions. I made heavy use of custom blocks to highlight specific kinds of information but…
sliptonic
  • 460
  • 3
  • 11
1
vote
1 answer

How to collect data from a local sqlite database with collectd's DBI plugin

I'm trying to collect some stats from a calibre library which stores metadata in an sqlite database. I'm attempting to use collectd's dbi plugin but I can't figure out the right options to get it to open the database. All options I've tried have…
1
vote
1 answer

MGLS_ASYNCH Processes are checking out multiple licenses

I am firing Calibre(v 2013.4_37.29) runs from a server. But I see that, there are multiple licenses checked out by my name and few are getting queued, when I fire runs. On a deeper look I see that there are multiple mgls_async processes running…
Rachana
  • 15
  • 3
1
vote
1 answer

Get all the numbers on the start of the line in output from grep

hello I am writing a news downloader from command line for calibre (calibre-ebooks.com) the script gets the id of an ebook from calibre DB using this command calibredb list --with-library '/mediacenter/media/Książki' | grep --line buffered…
user7094359
1
vote
0 answers

How to programmatically insert sections into RTF document?

I have an RTF document that is generated by Calibre, and as a post-processing step, I'd like to run my custom tool, preferrably written in C#, that would scan the RTF document for pairs of SectionStart and _SectionEnd_tags (any custom string I come…
Joe
  • 631
  • 2
  • 7
  • 18
1
vote
1 answer

Select and modify xpath nodes after specific text

I use this code to get all names: def parse_authors(self, root): author_nodes = root.xpath('//a[@class="booklink"][contains(@href,"/author/")]/text()') if author_nodes: return [unicode(author) for author in author_nodes] But i…
wrangly
  • 37
  • 5
1
vote
2 answers

calibredb add book - via cgi script

I wrote a python cgi script that receives the book file + some text from an html form. The scripts saves the file without a problem (in a temp dir: /opt/bibliotecha/tmp_bookcase/), however I am trying to use calibredb tool to add it to calibre…
MrCastro
  • 435
  • 1
  • 4
  • 14
1
vote
1 answer

how to query from Calibre database?

as you know calibre has a database called metadata.db and made of SQLite, I want to query from all books with this columns : bookId Title Date Size Rating Tags Publisher PublishedDate Author Cover ------ ----- ---- …
Sirwan Afifi
  • 10,654
  • 14
  • 63
  • 110
1
vote
1 answer

Beautiful soup findAll didn't find all of them

I'm using Calibre to make a recipe for a website. The web source code is:

Leaders

1
vote
0 answers

Why is Calibre/Python crashing when called from CGI/Perl, but not from the shell?

I have a Perl script which calls a bash script. The software I am using is Calibre. When I call this bash script (Calibre's) from my ssh shell, it seems to work fine. However when I call it from my Perl script it throws the following…
Sab
  • 11
  • 3
1
vote
2 answers

How do you use any2mobi command line tool (part of Calibre) to make mobi files from HTML?

I am on MAC OS X 10.5.5. I installed Calibre, a tool for converting e-book files from one format to another. It has a GUI as well as command line tools. I am trying to run the command line tool "any2mobi" to convert HTML files to MOBI pocket format…
Paul Chernoch
  • 5,275
  • 3
  • 52
  • 73
1
vote
1 answer

get image from website

I try to improve a recipe for calibre and replace the default cover image with the cover image of the current newspaper issue. The way to go has something to do with get_cover_url (link). There are two problems: The URL of the cover image changes…
speendo
  • 13,045
  • 22
  • 71
  • 107