[Bug]: Embed Metadata writing different chapter times #693

Closed
opened 2026-04-24 23:17:15 +02:00 by adam · 1 comment
Owner

Originally created by @Klaesy on GitHub (Oct 12, 2022).

Describe the issue

When rewriting the metadata of a single .m4b file using the Embed Metadata function the Chapter timings are different. Some are just 1ms off, but Chapter 10 for example is 720ms off.

Before:

00:00:00.000                             : Opening Credits
00:00:24.861                             : Chapter 1
00:39:30.711                             : Chapter 2
01:26:57.849                             : Chapter 3
01:58:53.960                             : Chapter 4
02:41:45.570                             : Chapter 5
03:19:44.423                             : Chapter 6
03:49:04.542                             : Chapter 7
04:13:56.981                             : Chapter 8
04:38:27.408                             : Chapter 9
05:04:41.860                             : Chapter 10
05:42:16.657                             : Chapter 11
06:13:10.585                             : Chapter 12
06:45:41.758                             : Chapter 13
07:03:32.477                             : Chapter 14
07:25:55.333                             : Chapter 15
07:53:36.489                             : Chapter 16
08:23:17.552                             : Chapter 17

After:

00:00:00.000                             : Opening Credits
00:00:24.860                             : Chapter 1
00:39:30.289                             : Chapter 2
01:26:57.150                             : Chapter 3
01:58:53.040                             : Chapter 4
02:41:45.430                             : Chapter 5
03:19:44.577                             : Chapter 6
03:49:04.458                             : Chapter 7
04:13:56.019                             : Chapter 8
04:38:27.591                             : Chapter 9
05:04:41.140                             : Chapter 10
05:42:16.342                             : Chapter 11
06:13:10.414                             : Chapter 12
06:45:41.241                             : Chapter 13
07:03:32.522                             : Chapter 14
07:25:55.666                             : Chapter 15
07:53:36.510                             : Chapter 16
08:23:17.447                             : Chapter 17

Steps to reproduce the issue

  1. Run the Embed Metadata function on an audiobook
  2. Check the Chapter timings

Audiobookshelf version

v2.1.1

How are you running audiobookshelf?

Docker

Originally created by @Klaesy on GitHub (Oct 12, 2022). ### Describe the issue When rewriting the metadata of a single .m4b file using the Embed Metadata function the Chapter timings are different. Some are just 1ms off, but Chapter 10 for example is 720ms off. Before: ``` 00:00:00.000 : Opening Credits 00:00:24.861 : Chapter 1 00:39:30.711 : Chapter 2 01:26:57.849 : Chapter 3 01:58:53.960 : Chapter 4 02:41:45.570 : Chapter 5 03:19:44.423 : Chapter 6 03:49:04.542 : Chapter 7 04:13:56.981 : Chapter 8 04:38:27.408 : Chapter 9 05:04:41.860 : Chapter 10 05:42:16.657 : Chapter 11 06:13:10.585 : Chapter 12 06:45:41.758 : Chapter 13 07:03:32.477 : Chapter 14 07:25:55.333 : Chapter 15 07:53:36.489 : Chapter 16 08:23:17.552 : Chapter 17 ``` After: ``` 00:00:00.000 : Opening Credits 00:00:24.860 : Chapter 1 00:39:30.289 : Chapter 2 01:26:57.150 : Chapter 3 01:58:53.040 : Chapter 4 02:41:45.430 : Chapter 5 03:19:44.577 : Chapter 6 03:49:04.458 : Chapter 7 04:13:56.019 : Chapter 8 04:38:27.591 : Chapter 9 05:04:41.140 : Chapter 10 05:42:16.342 : Chapter 11 06:13:10.414 : Chapter 12 06:45:41.241 : Chapter 13 07:03:32.522 : Chapter 14 07:25:55.666 : Chapter 15 07:53:36.510 : Chapter 16 08:23:17.447 : Chapter 17 ``` ### Steps to reproduce the issue 1. Run the Embed Metadata function on an audiobook 2. Check the Chapter timings ### Audiobookshelf version v2.1.1 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:17:15 +02:00
adam closed this issue 2026-04-24 23:17:15 +02:00
Author
Owner

@advplyr commented on GitHub (Nov 5, 2022):

Fixed in v2.2.2

@advplyr commented on GitHub (Nov 5, 2022): Fixed in [v2.2.2](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.2)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#693