MPV plugin/script : quit at the end of the current playlist item.
Go to file
Chl c84f971ed1 Actually, this key binding is easier to memorize
(looked at the forge logs : nobody pulled it so it's okay to break the
standard a little :)
2024-02-07 00:18:45 +01:00
LICENSE Initial commit 2024-02-06 01:17:46 +01:00
README.md Actually, this key binding is easier to memorize 2024-02-07 00:18:45 +01:00
main.lua Actually, this key binding is easier to memorize 2024-02-07 00:18:45 +01:00

README.md

This is a small script for the media player mpv. It delays quitting at the end of the current item by pressing alt+q.

Installation

git clone https://code.bugness.org/chl/mpv_delayed_quit ~/.config/mpv/scripts/delayed_quit

Or download the Lua file and put it in the directory ~/.config/mpv/scripts/delayed_quit/.

Usage

  • alt+q : make mpv quit at the end of the current file (or the counter-th file) in the playlist. Press again to forgo.

You can also make it quit at the end of the next n-th file, using those key bindings:

  • alt+a : decrement the counter, so mpv will quit one file sooner,
  • alt+shift+a : increment the counter, so mpv will quit one file later.