[Bug]: Discs Imported as Books, when folder names are "Book Name (Disc ##)" #1242

Closed
opened 2026-04-24 23:36:42 +02:00 by adam · 2 comments
Owner

Originally created by @CarsonDavis on GitHub (Jul 12, 2023).

Describe the issue

Discs are imported as books when the disc folder follows the structure "Book Name (Disc 01)". The following example will be imported as 2 books.

I've got an 80 book library and this affects 6 of the titles, a little less than 8%.

Book Name by Author
├── Book Name (Disc 01)
│ ├── Track 01.mp3
│ └── Track 02.mp3
└── Book Name (Disc 02)
├── Track 01.mp3
└── Track 02.mp3

Steps to reproduce the issue

  1. add folder, "Book Name by Author" to audiobooks folder
  2. navigate to the audiobook app in the browser
  3. observe many books added instead of only one

Audiobookshelf version

2.2.22

How are you running audiobookshelf?

Docker

Originally created by @CarsonDavis on GitHub (Jul 12, 2023). ### Describe the issue Discs are imported as books when the disc folder follows the structure "Book Name (Disc 01)". The following example will be imported as 2 books. I've got an 80 book library and this affects 6 of the titles, a little less than 8%. Book Name by Author ├── Book Name (Disc 01) │ ├── Track 01.mp3 │ └── Track 02.mp3 └── Book Name (Disc 02) ├── Track 01.mp3 └── Track 02.mp3 ### Steps to reproduce the issue 1. add folder, "Book Name by Author" to audiobooks folder 2. navigate to the audiobook app in the browser 3. observe many books added instead of only one ### Audiobookshelf version 2.2.22 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:36:42 +02:00
adam closed this issue 2026-04-24 23:36:42 +02:00
Author
Owner

@Deviousretard commented on GitHub (Jul 12, 2023):

You gotta change your folder structure

Put both discs in a single folder. So your directory would be ;

Author\Book\CD01\track.mp3
Author\Book\CD02\track.mp3

This will result in ABS creating a single entry book the book, but track order will be based on Disc order.

Additional info can be found at

https://www.audiobookshelf.org/docs#book-title-folder-naming

@Deviousretard commented on GitHub (Jul 12, 2023): You gotta change your folder structure Put both discs in a single folder. So your directory would be ; Author\Book\CD01\track.mp3 Author\Book\CD02\track.mp3 This will result in ABS creating a single entry book the book, but track order will be based on Disc order. Additional info can be found at https://www.audiobookshelf.org/docs#book-title-folder-naming
Author
Owner

@advplyr commented on GitHub (Jul 15, 2023):

That is an unsupported directory structure right now. We could expand the support but it is unlikely the folder name you mentioned would be supported.

@advplyr commented on GitHub (Jul 15, 2023): That is an unsupported directory structure right now. We could expand the support but it is unlikely the folder name you mentioned would be supported.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1242