[Bug]: Chapter order isn't correct #3136

Open
opened 2026-02-20 03:05:35 -05:00 by deekerman · 6 comments
Owner

Originally created by @mahob1972 on GitHub (Aug 18, 2025).

What happened?

I add a audiobook to the library. it is a folder with two subfolders CD1 and CD2 in this folders are several mp3 files. The file names are 01. Vorstellung 02. Begebnung auf der Post and so on. In the chapters I see now 07. Bei Mortimer Hopper 01. Vorstellung and this on both CD folders file number 07 is at both CDs the first chapter and not the 01 file. I add the metadata.json as a better explanation. Server is running v2.28.0

metadata.json

What did you expect to happen?

correct order of the chapters

Steps to reproduce the issue

Audiobookshelf version

v2.28.0

How are you running audiobookshelf?

Other (list in "Additional Notes" box)

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs


Additional Notes

running as LXC on Proxmox

Originally created by @mahob1972 on GitHub (Aug 18, 2025). ### What happened? I add a audiobook to the library. it is a folder with two subfolders CD1 and CD2 in this folders are several mp3 files. The file names are 01. Vorstellung 02. Begebnung auf der Post and so on. In the chapters I see now 07. Bei Mortimer Hopper 01. Vorstellung and this on both CD folders file number 07 is at both CDs the first chapter and not the 01 file. I add the metadata.json as a better explanation. Server is running v2.28.0 [metadata.json](https://github.com/user-attachments/files/21843991/metadata.json) ### What did you expect to happen? correct order of the chapters ### Steps to reproduce the issue 1. ### Audiobookshelf version v2.28.0 ### How are you running audiobookshelf? Other (list in "Additional Notes" box) ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell ``` ### Additional Notes running as LXC on Proxmox
Author
Owner

@advplyr commented on GitHub (Aug 18, 2025):

Can you share a screenshot of the manage tracks page?

Chapters are set only when first scanned in and will be set based on the order of the audio tracks only if chapters aren't embedded in the audio files.

Image
@advplyr commented on GitHub (Aug 18, 2025): Can you share a screenshot of the manage tracks page? Chapters are set only when first scanned in and will be set based on the order of the audio tracks only if chapters aren't embedded in the audio files. <img width="698" height="133" alt="Image" src="https://github.com/user-attachments/assets/65510f85-1d77-4765-8b55-7db2eac76d43" />
Author
Owner

@mahob1972 commented on GitHub (Aug 19, 2025):

Image

here is the screen shot

@mahob1972 commented on GitHub (Aug 19, 2025): <img width="1476" height="561" alt="Image" src="https://github.com/user-attachments/assets/adb22901-6f39-468b-acbd-5d87273924d3" /> here is the screen shot
Author
Owner

@Vito0912 commented on GitHub (Aug 19, 2025):

This is not the manage track view. The manage track view can be accessed using the button circled in red in the screenshot above.

@Vito0912 commented on GitHub (Aug 19, 2025): This is not the manage track view. The manage track view can be accessed using the button circled in red in the screenshot above.
Author
Owner

@mahob1972 commented on GitHub (Aug 19, 2025):

Sorry my fault

Image
@mahob1972 commented on GitHub (Aug 19, 2025): Sorry my fault <img width="1974" height="1031" alt="Image" src="https://github.com/user-attachments/assets/ac417980-6769-431a-baf4-05bdd96c8b98" />
Author
Owner

@Vito0912 commented on GitHub (Aug 19, 2025):

Did you add any files at a later point or did you add all the files at once?

@Vito0912 commented on GitHub (Aug 19, 2025): Did you add any files at a later point or did you add all the files at once?
Author
Owner

@mahob1972 commented on GitHub (Aug 19, 2025):

I add all files at once. I upload the folder that contains the subfolders CD1 and CD2.

That the order is on both CDs in the same wrong is interesting

@mahob1972 commented on GitHub (Aug 19, 2025): I add all files at once. I upload the folder that contains the subfolders CD1 and CD2. That the order is on both CDs in the same wrong is interesting
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf#3136
No description provided.