[Enhancement]: Ebooks onlyⓘ library setting #2169

Closed
opened 2026-04-25 00:04:34 +02:00 by adam · 2 comments
Owner

Originally created by @danielb2 on GitHub (Aug 10, 2024).

Type of Enhancement

Server Backend

Describe the Feature/Enhancement

As there is a toggle for Audiobooks only in a library, it would be useful to have a Ebooks only setting.

Why would this be helpful?

ebooks are single files and do not need to be organized the same way in folders. For example, a common way to organize files is having files in subfolders in authors for epub, but not a subfolder per book. Current behavior means books are grouped together which is undesired.

Consider the difference here:

.
├── audiobooks
│  └── author
│     ├── title01
│     │  ├── chapter01.mp3
│     │  └── chapter02.mp3
│     └── title02
│        ├── chapter01.mp3
│        └── chapter02.mp3
└── ebooks
   └── author
      ├── title01.epub
      └── title02.epub

Example result current behavior:
Screenshot 2024-08-10 at 09 31 56

Clearly these should be separate books, and I think for ebooks a simple recursive search will do.

Alternatively instead of a ebooks only setting, just handle epub differently

Future Implementation (Screenshot)

Screenshot 2024-08-10 at 09 33 35

add ebooks only option here to force simple recursive scan for ebooks. I'm not sure if cbr or other formats are handled differently, but needing a folder per book for epub doesn't make so much sense

Audiobookshelf Server Version

v2.12.1

Current Implementation (Screenshot)

N/A

Originally created by @danielb2 on GitHub (Aug 10, 2024). ### Type of Enhancement Server Backend ### Describe the Feature/Enhancement As there is a toggle for `Audiobooks only` in a library, it would be useful to have a `Ebooks only` setting. ### Why would this be helpful? ebooks are single files and do not need to be organized the same way in folders. For example, a common way to organize files is having files in subfolders in authors for epub, but not a subfolder per book. Current behavior means books are grouped together which is undesired. Consider the difference here: ```plaintext . ├── audiobooks │ └── author │ ├── title01 │ │ ├── chapter01.mp3 │ │ └── chapter02.mp3 │ └── title02 │ ├── chapter01.mp3 │ └── chapter02.mp3 └── ebooks └── author ├── title01.epub └── title02.epub ``` Example result current behavior: <img width="1027" alt="Screenshot 2024-08-10 at 09 31 56" src="https://github.com/user-attachments/assets/4c36f80c-a63f-4b43-80b1-1862659064fc"> Clearly these should be separate books, and I think for ebooks a simple recursive search will do. <mark>Alternatively instead of a ebooks only setting, just handle epub differently</mark> ### Future Implementation (Screenshot) <img width="695" alt="Screenshot 2024-08-10 at 09 33 35" src="https://github.com/user-attachments/assets/958cc036-5b06-4dbf-9aea-41633b164191"> add ebooks only option here to force simple recursive scan for ebooks. I'm not sure if cbr or other formats are handled differently, but needing a folder per book for epub doesn't make so much sense ### Audiobookshelf Server Version v2.12.1 ### Current Implementation (Screenshot) N/A
adam added the enhancement label 2026-04-25 00:04:34 +02:00
adam closed this issue 2026-04-25 00:04:34 +02:00
Author
Owner
@nichwall commented on GitHub (Aug 10, 2024): Related to https://github.com/advplyr/audiobookshelf/issues/2314 and https://github.com/advplyr/audiobookshelf/issues/2338
Author
Owner

@danielb2 commented on GitHub (Aug 10, 2024):

Closing since #2314 seems to mostly cover this. I'll add my comments there

@danielb2 commented on GitHub (Aug 10, 2024): Closing since #2314 seems to mostly cover this. I'll add my comments there
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2169