BrettSheleski/comchap

XML based chapter file could allow automatic skipping of commercial chapters

Opened this issue · 1 comments

The MKV format allows for richer chapter specifications that could allow a player to automatically skip over the chapters labeled as commercials. This would give the best of both worlds of cutting and marking commercials -- no user intervention necessary to skip commercials, but if they are incorrectly identified, a user can go back and view them.
https://mkvtoolnix.download/doc/mkvmerge.html#mkvmerge.chapters
I wrote up a version of comchap that creates an XML chapter file and merges it in with mkvmerge.

As yet, unfortunately, Plex doesn't respect the ChapterFlagEnabled and ChapterFlagHidden settings. Ideally, it would skip over the sections identified as commercials, and not show the commercial chapters in the list of chapters.

Other players may support these features however. Let me know if you're interested in integrating my code.

Make a pull request, I'll take a look at the code.

I'm not sure how this is more beneficial than what comchap can already do. If you specify a .mkv output file, it will do so.

Make a Pull Request, I'll take a look. At the very least I'll add a link on the readme.md to your repo for whoever may be interested.