MPV plugin/script : quit at the end of the current playlist item.
LICENSE | ||
main.lua | ||
README.md |
This is a small script for the media player mpv.
Instead of an instant quit with q
, it allows you to delay quitting at the end
of the current track 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.