From 9bc5d4527810eb78e93d50eeb05f902accbd7db1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 30 Jul 2022 07:49:37 -0400 Subject: [PATCH] mpv: Automatically make playlists from directories This makes it easier to play a series of files without worrying about starting mpv with those specific files. --- mpv/.config/mpv/mpv.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index 016eff1c..1db420a5 100644 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -51,6 +51,9 @@ fullscreen=yes # Don't allow new windows to have a size larger than 90% of the screen size autofit-larger=90%x90% +# Automatically make playlists out of directory files +script=/usr/share/mpv/scripts/autoload.lua + # Don't use titles from the file metadata, since it may be incorrect. title='${filename} - mpv' script-opts='osc-title=${filename}'