/MPV-chapterpause-And-chapterskip-script

mpv script to pause and skip chapters based on their title

Primary LanguageLua

chapterpause

Automatically pauses chapters based on title.

Installation

Place chapterpause.lua in your mpv scripts folder.

Usage

Select which categories to skip.
Globally: script-opts/chapterpause.conf > pause=opening;ending;more;categories
Within an auto profile: mpv.conf > script-opts=chapterpause-pause=opening;ending;more;categories

The default categories are:

  • prologue
  • opening
  • ending
  • preview

Additional categories can be defined with categories=my-new-category>Part [AB]/Ending 1; another-category>Part C in script-opts/chapterpause.conf

Category syntax

List of category name>slash-separated lua patterns, separated by semicolons.
A + can also be used instead of >.

Index-based skips are possible by starting your category name with idx-. All patterns will be treated as integers. Chapter indexes start at 1.