1
0
forked from extern/nix-config

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.
This commit is contained in:
Donovan Glover 2022-07-30 07:49:37 -04:00
parent 1de898c54b
commit 9bc5d45278
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -51,6 +51,9 @@ fullscreen=yes
# Don't allow new windows to have a size larger than 90% of the screen size # Don't allow new windows to have a size larger than 90% of the screen size
autofit-larger=90%x90% 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. # Don't use titles from the file metadata, since it may be incorrect.
title='${filename} - mpv' title='${filename} - mpv'
script-opts='osc-title=${filename}' script-opts='osc-title=${filename}'