mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 10:17:31 +00:00
Under the current file loading logic, a video file and an external audio track next to it will both be added to the playlist, which most users don't wish to happen. Having an option that tells the script to load only one type of files (video, audio, or image) can avoid this problem. It may also come in handy for people who have different types of files mixed in a folder but wish to consume only one type of media at a time. |
||
---|---|---|
.. | ||
acompressor.lua | ||
ao-null-reload.lua | ||
audio-hotplug-test.lua | ||
autocrop.lua | ||
autodeint.lua | ||
autoload.lua | ||
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 | ||
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.)