Closed porg closed 1 year ago
chapter-make-read.lua
~/.config/mpv/scripts/
EVM.m4v
EVM.m4v.chp
Result: Chapter loading ✅ works from very minimal but unrealistic chapter file ❌ but fails with realistic chapter file.
[A-Za-z ]
' " , . : … • & / ( )
.txt
Fix by commit https://github.com/dyphire/mpv-scripts/commit/bc6763e87f3da0467caf12709b5dde85988f8f18, please test whether it works for you.
Reproduction
chapter-make-read.lua
by moving it into~/.config/mpv/scripts/
EVM.m4v
(49m 28s, no chapters in metadata)EVM.m4v.chp
(UTF-8, created with TextEdit)Result: Chapter loading ✅ works from very minimal but unrealistic chapter file ❌ but fails with realistic chapter file.
✅ Very minimal but unrealistic chapter file
[A-Za-z ]
only, no punctuation whatsoever❌ My realistic chapter file
[A-Za-z ]
(ASCII only!) and several punctuation characters such as' " , . : … • & / ( )
Investigation
Environment
Attachments
Notes
.txt
extension was only added to be accepted as an attachment on GithubEVM.m4v.chp
to act as the sidecar file toEVM.m4v.chp
Files