Chapter timestamp wraps if track is longer than 24 hours on export

Issue #710 new
Shun Chu created an issue

Description

In the “Time” column of the text track metadata, if the hour value exceeds 24 hours, Subler will reset and “wrap” the hour markers upon Export.

Steps to Reproduce

  1. Choose an M4A or M4B file that is longer than 24 hours, e.g. “Atlas Shrugged”
  2. If the file does not come with text tracks, create your own, by using the Insert a chapter every... option in Subler. Scroll and notice the timestamps show up properly in Subler. For example, the last timestamp is probably around 51:24:xx.xxx
  3. Go to File menu and Export the text track
  4. Observe that the last timestamp is 03:24:xx.xxx, not 51:24:xx.xxx
  5. Import the file as-is without any modifications, observe all the chapters beyond the 24-hour mark are reshuffled to the top of the chapter/title stack

So effectively, to get back to what the original timestamp should be, I’d need to do the math of adding 03 back to 48 in the case of Atlas Shrugged. A short book with chapters in 25-hour timestamp marks, after the 24-hour mark, will appear as 01:xx:xx.xxx… etc.

So what’s going to happen to a user is that it’ll create confusion until the user realizes what’s happening. Upon import of the text track, all the chapters with timestamps going beyond 24-hour mark will be pushed to the top of the chapter/title stack.

Workaround

The user must visually inspect, calculate and provide correct hours in the timestamps before re-importing them back to Subler.

Please see attached image for an example.

Comments (0)

  1. Log in to comment