Skip to content

mpv script to automatically skip opening, ending or preview chapters.

Notifications You must be signed in to change notification settings

awaken1ng/mpv-op-ed-pv-skip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

mpv script to automatically skip opening, ending or preview chapters.

If chapters are properly named (i.e. not Chapter 1, Chapter 2, etc), works by matching on the chapter name. Otherwise by checking the chapter length.

Installation

https://github.com/mpv-player/mpv/wiki/User-Scripts

Copy the script into mpv scripts directory

  • Linux or MacOS: ~/.config/mpv/scripts/
  • Windows: C:/Users/Username/AppData/Roaming/mpv/scripts/

Keybind

Can be configured by editing the KEYBIND variable at the top of the script. By default, y key is used.

y to enable or disable the script.

Y to manually switch between modes of operation.

Ctrl+y to bring up configuration menu. Press Ctrl+y again or Esc to dismiss it.

Chapter name patterns

Can be configured by editing PATTERNS_EXACT, PATTERNS_START and PATTERNS_END variables at the top of the script.

Chapter length thresholds

Default value can be configured by editing OP_ED_THRESHOLD and PV_THRESHOLD tables. Also can be configured from Ctrl+y menu, but changes made there are not saved.

About

mpv script to automatically skip opening, ending or preview chapters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages