various minor fixes and improvements
[distro-setup] / subdir_files / .config / mpv / mpv.conf
index 49d4960838796c5051538b72598e7e70a7937d69..c84a33255bca4d3005300ac466a0081464bc0a9c 100644 (file)
@@ -5,6 +5,14 @@
 loop-file=no
 volume=50
 player-operation-mode=pseudo-gui
+replaygain=track
+
+# by default mpv does not hardware decode, but the distro package has
+# /etc/mpv/mpv.conf : hwdec=vaapi that makes android videos black and
+# white on one of my computers. vlc uses this library, which works on
+# that computer, so going with that for now. This config file overrides
+# the /etc one.
+hwdec=vdpau
 
 # use --profile d
 [d]
@@ -17,10 +25,29 @@ no-save-position-on-quit
 [s]
 shuffle
 
-# audio
+# audio, especially with beetag
 [a]
-volume=75
+volume=100
 player-operation-mode=cplayer
-
+audio-display=no
+# dont display any tags
+display-tags=
+#really-quiet
 # note, useful cli option:
 # --script-opts=osc-visibility=always
+
+# gets rid of lines like:
+# (+) Audio --aid=1 (flac 2ch 44100Hz)
+# AO: [pulse] 44100Hz stereo 2ch s16
+# and
+# ffmpeg/demuxer] mp3: Estimating duration from bitrate, this may be inaccurate
+#
+# Found via man mpv and its suggestion to use
+# --msg-level=all=trace
+#
+# for supressing
+# "Audio device underrun detected." it requires all=error.
+
+msg-level=cplayer=warn,ffmpeg/demuxer=error
+
+input-ipc-server=/tmp/mpvsock