mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:56 -05:00
[Enhancement]: Write metadata back into epub file #2501
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf#2501
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrburns-42 on GitHub (Oct 22, 2024).
Type of Enhancement
Server Backend
Describe the Feature/Enhancement
Write updated metadata back into epub files.
Why would this be helpful?
As soon as I download the epub from abs (say on an ebook reader) it still gets the old embedded metadata as the embedded metadata isn't updated.
Future Implementation (Screenshot)
"Embed Metadata" like the one used for audiobooks.
Audiobookshelf Server Version
2.15.1
Current Implementation (Screenshot)
No response
@nichwall commented on GitHub (Oct 22, 2024):
Yeah, ABS doesn't do any modifications to any ebook files. Not sure if that is planned due to there being so many weird edge cases with ebook formats and there already being other tools which have good ebook support like Calibre and Kavita.
@kuldan5853 commented on GitHub (Dec 8, 2024):
From my personal experience, ABS is already better for ebooks than Kavita (and Kavita also has no metadata management at all, you need to do the metadata tagging outside for it to work - and even then it does not really).
Calibre is a nice tool but their metadata scrapers for online are atrociously bad - it can't scrape a single book I have correctly, vs. ABS doing it pretty competently against google books.
I also see a lot of value in adding this (or well, at least I'd be a happy camper if you guys eventually get around to it).
@leleogere commented on GitHub (Feb 20, 2025):
About weird ebook edge cases, it might be interesting to see how Calibre-Web Automatic manages them. They write back the cover and metadata to the epub when modified, so that when downloaded to an ereader, they are displayed exactly as they are displayed in the WebUI.
Currently, it is quite frustrating to spend so much time polishing all the metadata in the UI, and not being able to enjoy them on my reader.
@hbilbo commented on GitHub (May 6, 2025):
If this is not something the team is interested in implementing right now would it be possible to have ABS utilize the calibre binaries to embed the metadata? Or potentially even a custom user script to run on your ebooks when downloading to ensure metadata is embedded (not sure how difficult this would be and is maybe less ideal than using calibre)?
This is the one feature in my opinion that is missing and is holding me back from using ABS for ebooks. Like @leleogere said not really any point in curating metadata if you can't see that info in your ereaders. I wouldn't mind having calibre installing/running alongside ABS if it meant making embedding metadata possible until it's a native feature.
@BlazeWits commented on GitHub (Jun 13, 2025):
I second this. Adding a 'Quick embed Metadata' option to ebooks (right now only supports audiobooks) would be really nice.
@GinSoakedBoy commented on GitHub (Jul 10, 2025):
If embedding metadata is tricky, it would be great to have a button that replaces the cover within the epub file.
For what it's worth I was able to have Copilot create this .js script that replaces a cover image with a cover.jpg file within the same directory as an epub file (checking if the image file is the same or not). Would something like this work?