]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - multimedia/mpv/mpv.conf
multimedia: add pipewire configuration and switch mpv to pipewire
[config/dotfiles.git] / multimedia / mpv / mpv.conf
index 94f86f785c1da5d6cde42209a764e2af3cb0ebd4..15936e16e33eb7b5306638c1cfc15d075d7f05fc 100644 (file)
@@ -19,8 +19,6 @@
 # Use hardware decoding if possible
 hwdec=auto
 
-# Use ALSA as audio driver.
-ao=alsa
 # Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access
 # to hardware mixer.
 volume=50
@@ -67,4 +65,16 @@ osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?demuxer-cache-dura
 # Don't display attached pictures in sound files.
 audio-display=no
 
+# Increase cache size
+demuxer-max-bytes=300MiB
+
+# Load and cache next title in playlist before the current file is ending.
+# Very useful when watching series.
+prefetch-playlist=yes
+
+# Save secondary-sid to watch-later state files. Note that this won't work if
+# --secondary-sid is used on the command line (mpv only saves settings with a
+# different value).
+watch-later-options-append=secondary-sid
+
 # vim: ft=mplayerconf