Skip to content

mpv script to pause and skip chapters based on their title

Notifications You must be signed in to change notification settings

erickyun/MPV-chapterpause-And-chapterskip-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

mpv script to pause and skip chapters based on their title

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%