1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-15 19:42:53 +00:00
mpv/TOOLS/lua
oficsu 96b34148f1 TOOLS/lua/autoload: add ignore_pattern option
Autoload script can now exclude certain files

Why? Sometimes you want to ignore thumbnails,
auto-generated backups or just unwanted files

A non-exhaustive list of real-world examples:
- user backup files: '%.bak%.mp4$' or '^bak-'
- telegram-desktop thumbnails: '_thumb%.jpg$'
- a krita graphics editor backup suffix: '^~'

See documentation here: lua.org/pil/20.2.html
2024-04-27 03:14:31 +02:00
..
acompressor.lua
ao-null-reload.lua
audio-hotplug-test.lua
autocrop.lua TOOLS/autocrop.lua: drop Libav mention 2024-01-20 16:10:20 +00:00
autodeint.lua f_auto_filters: change fallback deinterlace to bwdif 2024-01-21 17:55:54 +00:00
autoload.lua TOOLS/lua/autoload: add ignore_pattern option 2024-04-27 03:14:31 +02:00
command-test.lua
cycle-deinterlace-pullup.lua
nan-test.lua
observe-all.lua
ontop-playback.lua
osd-test.lua
pause-when-minimize.lua
README.md
skip-logo.lua scripting: don't observe properties with type nil 2024-01-20 16:09:34 +00:00
status-line.lua
test-hooks.lua

mpv lua scripts

The lua scripts in this folder can be loaded on a one-time basis by adding the option

--script=/path/to/script.lua

to mpv's command line.

Where appropriate, they may also be placed in ~/.config/mpv/scripts/ from where they will be automatically loaded when mpv starts.

This is only a small selection of internally maintained scripts. Some of them are just for testing mpv internals, or serve as examples. An extensive user-edited list of 3rd party scripts is available here:

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

(Anyone can add their own scripts to that list.)