Opened 16 years ago
Closed 16 years ago
#4534 closed patch (fixed)
mytharchive doesn't make final chapter mark when using fixed spacing
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mytharchive | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Whenever the mythburn.py script is asked to set DVD chapter marks with a fixed spacing, it adds one less chapter than would be expected. As an example, consider a 24 minute video with chapter segment length of 5 min. Mytharchive will set chapter marks at 0, 5, 10, and 15 minutes but not one at 20 minutes as would be expected. This is because it places floor(lengthofvideo/segment) = 4 marks when it should do floor(lengthofvideo/segment + 1) = 5 marks. I've attached a patch that does this.
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | mythburn-fixchapters.diff added |
---|
comment:1 Changed 16 years ago by
I should add that the attached patch is not quite up to date with svn head, but it should still be trivial to apply.
comment:2 Changed 16 years ago by
Milestone: | unknown → 0.21 |
---|---|
Status: | new → accepted |
Patch to fix fixed length chapter markings in mythburn.py