MPV plugin/script : quit at the end of the current playlist item.
Find a file
2024-02-06 01:26:33 +01:00
LICENSE Initial commit 2024-02-06 01:17:46 +01:00
main.lua Quick notice on config. file 2024-02-06 01:26:33 +01:00
README.md Initial commit 2024-02-06 01:17:46 +01:00

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,
  • alt+shift+q : increment the counter, so mpv will quit one file later,
  • alt+a : decrement the counter, so mpv will quit one file sooner.