]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - multimedia/mpv/mpv.conf
shell: set GOTOOLCHAIN=local
[config/dotfiles.git] / multimedia / mpv / mpv.conf
index d8d9329860184aa1f17ea80cff6343805b6523d5..fdb610c39a087fd17978e1c27e4e22c9c76226f4 100644 (file)
@@ -16,8 +16,9 @@
 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
 
 
-# Use ALSA as audio driver.
-ao=alsa
+# Use hardware decoding if possible
+hwdec=auto
+
 # Set default value of internal mixer (0-100). Since 0.18.1 mpv has no access
 # to hardware mixer.
 volume=50
@@ -64,4 +65,18 @@ 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
+# Also keep play/pause state (necessary since 0.37).
+watch-later-options-append=pause
+
 # vim: ft=mplayerconf