Calibre

Last modified by Justin Morgan on 2019/09/29 18:04

About


Calibre is a cross-platform open-source suite of e-book software. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers. Editing books is supported for EPUB and AZW3 formats.

I need to go through all PDF books and fix their covers because a lot of them have those dumb ones from the site the books came from.

  • Add tags to books
  • Set naming conventions
  • Convert everything to Kindle format
  • Get covers for all books
  • Get correct metadata for all books

Combine Small Favors comic into a CBR/CBZ file. Figure out how to name the images beforehand though. Need to make sure they are in the right order.

Bulk convert all CBR to CBZ so ComicRack can store metadata in the zip file. Apparently CBR files can't do this. Once conversion is complete, rescan ComicRack folders and update info. Then check comics in Calibre to see if the info has also updated there.

I installed a plugin that is supposed to be able to keep metadata inside comic book zip files. Let's figure out how to use that and get going on grabbing the info.

Libraries


Magazines

Naming convention:

Comics

Naming convention:

Um

Naming convention:

Books

Naming convention:

Tags


These are tags to be added to the metadata of books and comics in [[Calibre]].

Might be helpful to google the title of each book and use descriptions to come up with tags.

  • Fiction
  • Non-Fiction
  • Subject
  • Thriller, suspense, humor, etc.
  • Character archetypes (ie final girl, unreliable narrator, etc.)
  • Format (ie Magazine, Zine, Book, etc.)

Content Server


Currently the Content Server feature is enabled and is set to start when Calibre starts. The localhost website is available at 10.0.0.6:8080. Books can be downloaded to the device, be it phone or Kindle, as long as it is connected to the same Wi-Fi network as the Content Server.

I'm planning on uninstalling the Calibre instance on HOMECOMP. Since I have the Docker running relatively smoothly, I don't think I need it anymore. Plus I can delete the library from the HDD to make some room. I'll just need to keep the backup on the external HDD.

The content server for the Docker is different from the above info. Add the Docker info as well (IP:port).

Pocket Sync


This plugin would have allowed my Pocket articles to sync to my Kindle but it appears to no longer work. Maybe try categorizing Pocket articles with tags, exporting just those tagged items as a single ebook, then importing it into Calibre. Using the Calibre server feature, I can then grab that ebook from Calibre as long as I'm connected to the Home Network Wi-Fi.

Converting eBooks


https://computers.tutsplus.com/tutorials/how-to-convert-an-e-book-using-calibre--mac-53028

Docker Setup


The Docker for this is all set up and working great. Just need to import all my books.

I'd like to go into more detail as to how that was set up so I can refer back to it in case I have to rebuild PLEXSERV.

General

Docker Image: cgspeck/docker-rdp-calibre:latest

Container Name: CalibreWeb

Restart Policy: unless-stopped

Networking

Network Mode: Bridge

Ports: 3389:3389/tcp 8082:8080/tcp 8081:8081/tcp 7070:9090/tcp

Environmental Variables

USER_ID: 1001 GROUP_ID: 100 TZ: America/Indiana/Indianapolis

Volumes and Bind Mounts

/sharedfolders/Storage/Calibre : /config /sharedfolders/Storage/Library : /library

Troubleshooting


User ID Spontaneously Changes

For some reason recently the user ID environmental variable changed to "99". This caused Calibre to lose track of the library. The simple fix was just to change the ID back. No idea why this happened in the first place. It may happen again in the future.