Description: This script prompts users to delete the current file when quitting mpv with the "q" key. If the user presses "y", the file is deleted.
Installation:
- Download
delete_file.lua
. - Place it in your mpv scripts folder (
~/.config/mpv/scripts/
for Linux/MacOS,%APPDATA%\mpv\scripts\
for Windows). - Restart mpv.
Usage:
- Press "q" to quit playback. You'll be asked if you want to delete the file.
- Press "y" to delete, "n" to cancel.
Note: File deletion is permanent. Make sure before confirming.
Support: Report issues or suggest improvements on this repository.