renaming chapters doesn't rename all chapters
See original GitHub issueI have a mb4 file that has chapters title 1-67. I created a chapters.txt with the correct names and used the same times from tone dump
. however the last for chapters are not renamed. here is --dry-run
preview.
using this command tone tag file.m4b --auto-import=chapters --dry-run
this is the relevant section in the chapters.txt file
is this a bug or am I missing something?
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Updating chapter titles : r/PrologueApp
Unfortunately, to get Prologue to read the new chapters, I have to rename the file and have Plex import it as a new...
Read more >Table of contents after renaming chapters in book document?
I made the patch working for the cases when hyperref is loaded or not. Note that the correct command to redefine is \chaptername...
Read more >Renaming chapters in an mp4 from a text file
Hi I have an mp4 that is already in Chapters and I want to rename all the chapters from a text file (or...
Read more >\renewcommand{\chaptername}{} does NOT work -- why?
I am trying to get rid of (or rename) the "Chapter x" string before names of chapters. As far as I know, the...
Read more >Renaming and resetting Chapter in LaTeX
I have two questions in LaTeX: How to reset the chapter counter to 1 or to set it to any other number? How...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you. I found the problem:
C# has a
TimeSpan
class that has a methodTryParse
to parse time strings. This class, as the name states, is used to represent a timespan and also can also be used to represent timespans greater than 24 hours (why not?). However, unfortunately theTryParse
method seems to be limited and not to support timespans > 24h (WTF?).This (currently) results in any chapter after 24h to be skipped, when using the
chapters.txt
format.Next steps:
TimeSpan
(e.g. https://stackoverflow.com/questions/7429177/work-around-for-timespan-parsing-2400)As a workaround you could maybe try the
tone.json
format to rework your chapters, but I have to check, if this format suffers the same issue.Should be fixed. Targeted for release
v0.1.0
. The check for other formats having this issue is not fully done yet, but my first impression is, that other formats should work. Please try thetone.json
workaround, if you find the time.