Chapter timestamp wraps if track is longer than 24 hours on export
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
- Choose an M4A or M4B file that is longer than 24 hours, e.g. “Atlas Shrugged”
- 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 around51:24:xx.xxx
- Go to
File
menu andExport
the text track - Observe that the last timestamp is
03:24:xx.xxx
, not51:24:xx.xxx
- 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 hour
s in the timestamps before re-importing them back to Subler.
Please see attached image for an example.