From 21fbedead9be5d81077bd6ab0e85f3c90e8c348d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 31 May 2014 00:27:54 +0200 Subject: [PATCH] mpv/config: add --- mpv/config | 41 +++++++++++++++++++++++++++++++++++++++++ setup.sh | 5 +++++ 2 files changed, 46 insertions(+) create mode 100644 mpv/config diff --git a/mpv/config b/mpv/config new file mode 100644 index 0000000..f3d0d74 --- /dev/null +++ b/mpv/config @@ -0,0 +1,41 @@ +# Mpv (mplayer2 fork) configuration file. + +# Copyright (C) 2011-2014 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# Use option (high quality, preferred), xv (hardware accelerated) or x11 as +# video driver. +vo=opengl-hq,xv,x11 +# Use ALSA as audio driver, use PCM for volume control. +ao=alsa:mixer-name=PCM +# Use the audio driver volume control if possible. +softvol=no + +# Fullscreen playback. +fs=yes + +# Prefer English and German audio and subtitles. +alang=en,de +slang=en,de + +# But don't display subtitles by default. Thanks to wm4 in #mpv-player on +# Freenode (2013-10-09 23:42 CEST) for this idea. +sub-visibility=no + +# Disable LIRC as I don't use it. +lirc=no + +# vim: ft=mplayerconf diff --git a/setup.sh b/setup.sh index d79992b..9f69e1c 100755 --- a/setup.sh +++ b/setup.sh @@ -52,3 +52,8 @@ if installed mplayer; then link mplayer ~/.mplayer fi fi +# Another MPlayer fork, but developed separately with a different config +# directory. +if installed mpv; then + link mpv ~/.mpv +fi -- 2.43.2