r/Calibre • • 13h ago

Support / How-To Help with “Column built from other columns” Code

3 Upvotes

I’m a noob with no coding experience other than setting up a MySpace page 20 years ago and I’m trying to set up Calibre for fan fiction archiving. I’ve been following tutorials and have it almost dialed in but I’ve been struggling with getting anything to work without copy and pasting code provided by someone else 😅

I have custom columns set up to pull metadata from AO3 via the FanFicFare plugin. I’m trying to translate those tags into shortened versions for consistency and for displaying on a book cover. I want to keep the original meta data from AO3, but just also have additional columns for shortened versions.

What I’m trying to do now is pull the data from my #fandom column (mapped to AO3 “Category”), search it for a key phrase, and if it contains that - translate into a shortened name of the fandom.

Example: for The Last of Us - the official fandom tags on A03 are either or both of “The Last of Us (TV)” and/or “The Last of Us (Video Games)”

I want to create a new column #short_fandom that will search the contents of #fandom for contains “The Last of Us” (so it recognizes either official fandom tags) and if present, displays “TLOU” in the #short_fandom column.

Same with say “Sherlock (BBC TV 2010)” and “Sherlock Holmes & Related Fandoms” tags displaying as “Sherlock”.

I figure if I get help with one, I can figure out how to duplicate to input all my fandoms.

It seems like it should be so simple but I’ve been trying to figure this out for hours 😂 can anyone help me with the code for the custom column builder template to accomplish this? 🙏🏻


r/Calibre • • 17h ago

Support / How-To Fanficfare downloaded a new chapter but i can’t seem to be able to transfer it well to my kobo/koreader

3 Upvotes

Does anyone have a foolproof way to do it, fanficfare downloaded a new chapter, but when i send it to device vis cable it doesn’t register the new version it seems. i have send fics with new chapters before and it sometimes works and sometimes doesnt 😅 whats your specific way to do it si it work everytime?


r/Calibre • • 1h ago

General Discussion / Feedback Is there a way to extract text from BOOK☆WALKER ebooks without OCR?

2 Upvotes

I'm looking for a way to extract text from Japanese ebooks purchased on BOOK☆WALKER for personal use, mainly to convert them into audio.

I've tried OCR, but it frequently misrecognizes Japanese characters, punctuation, and ruby text (furigana).

Here's what I've tried so far:

- Searching for the ebook text in Chrome DevTools.

- Checking Chrome's accessibility tree.

- Searching for staticText and inlineTextBox.

- The browser viewer appears to render the pages using Canvas, and I couldn't find the actual ebook text.

However, TalkBack on the Android version of BOOK☆WALKER can read the ebook text aloud.

I'm wondering if it's possible to retrieve the text exposed through Android's accessibility features using ADB, UIAutomator, or another tool.

Does anyone know a reliable way to obtain the original text without OCR or bypassing DRM?

I'd appreciate any specific methods, tools, or tutorials. I'm a beginner in scraping and Android automation.

Thank you!


r/Calibre • • 21h ago

Support / How-To Creating custom column from custom sub-tags

2 Upvotes

Hey all, hope everyone had a great thanksgiving/week! been trying to use my tiny brain to do this, and I’ve tried recent AO3/fanfic code samples and altering them to my case but it just errors out.

My goal is trying to make a column from tags such as
Translation.Official, Translation.Fan Translation, or Status.Ongoing, Status.Completed to browse with koreader easier.


r/Calibre • • 3h ago

Support / How-To Display Epub cover without downloading the book

1 Upvotes

Hello, I'm wondering if there's a way to have a cover displayed without needing to download it after sending it to the Kindle. Or, if there's a way to transfer it so it does display while it isn't fully downloaded.

I'm thinking that there probably isn't but just wanted to ask to make sure. I did find a similar post a year ago on this, but there was no solution.

I did also try sideloading a kfx file, but that doesn't seem to add to the cloud library for it to be kept and display the cover after deleting.


r/Calibre • • 10h ago

Support / How-To How to send books to kindle correctly

1 Upvotes

Hi everyone!

I was trying to send some books from my mac to my kindle and although it worked I am noticing that the first few pages are other types of covers (i.e the hunger games series are showing three different covers in the beginning).

My partner would usually handle this for me (unfortunately he’s passed and knew all things tech) and I’m trying to do this on my own now.

I do remember needing to modify the epub and then edit metadata but I don’t know exactly what and then send to kindle.

Does this ring a bell for anyone or does anyone know what I’m missing or what I need to do?

Any advice is greatly appreciated. Thank you!