mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:56 -05:00
[Enhancement]: Support multiple file formats per audiobook #1637
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#1637
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 @mew1033 on GitHub (Nov 16, 2023).
Describe the feature/enhancement
Similar to how Calibre allows you to store your ebook as multiple formats, it would be nice if audiobookshelf could keep track of multiple file formats for each book. Then the server could intelligently serve different file formats to different clients, or over different connection speeds.
@advplyr commented on GitHub (Nov 18, 2023):
You can have multiple ebook formats in the same library item folder. They will all show up on the book page and you can switch between which one is primary.
Is that what you are looking for, or can you expand on what you see this looking like?
@mew1033 commented on GitHub (Nov 18, 2023):
Oh sorry, I meant multiple formats of audiobooks. So for example if I had a FLAC and a more compressed mp3 of the same book. Bonus points if I can dynamically switch between them while listening. Or if the app auto chooses based on my current connection speed.
@advplyr commented on GitHub (Nov 18, 2023):
Ah okay. This is a bit trickier for Abs because an audiobook can be composed of many files. We would have to have a way of grouping the same book together similar to how Plex groups movies. Again this is a bit trickier with audiobooks because we don't have a single source of truth for metadata. With Plex they can assign each movie an ID and any movies with the same ID can be grouped.
Not impossible with audiobooks but we would have to figure out a solution
@mew1033 commented on GitHub (Nov 19, 2023):
Could we implement some required folder structure? For example, if you want to have multiple versions of an audiobook, that book must be in a folder by itself. Then you must use another folder named
_versionsor something.I know I'll have some versions of a book that have multiple files and other versions of that same book with just one file.
@jtbrush56 commented on GitHub (Nov 20, 2023):
I'm not sure if this falls into the same request or not, but I was also looking for a way to have multiple versions indexed. My use case was having:
Since these two present the story in two very different ways.
@benbou8231 commented on GitHub (Jan 15, 2024):
I like this, just like Plex handle multiple editions for movies.
Ex.:
@RadioFoxProductions commented on GitHub (Sep 21, 2025):
My best suggestion would be then to do it as follows:
Media is added by the scan
Give the Admin the ability to define the two different quality options as the same book (with a disclaimer that it will remove current progress data for all users)
Have the end user select the quality preset when they start the book (or give administrators the ability to determine quality access based on remote/local or permission levels and access)
If they decide to switch the quality, disclaim that it will remove their current progress in the book, and they will have to remember it.
It's not the most optimal solution, and I'm more just proposing it cause i like problem solving, thank you for indulging my silly thought process
An addition idea was also to have a separate metadata file that keeps track of book name, chapter data, and position in the chapter, as well as the user who it belongs to (similar to what Smart Audiobook Player for android does), this would require that the order of chapters for each quality would need to be the same, and some uniform time signature is used though, but that isn't too hard for audiobooks with multiple quality presets, especially ones exported that way.
(Copied and pasted from a discord conversation)
@mattague commented on GitHub (Nov 25, 2025):
Another alternative would be using anything developed for #189 to enable syncing within different versions on a more granular level, obviating the need to reset progress.