From: Sergey Matveev Date: Sat, 2 May 2020 14:07:28 +0000 (+0300) Subject: Simpler profiles selection for mpv X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=e4ad1f1ad2808104f569c2e8ecb20f3c33af9a75 Simpler profiles selection for mpv --- diff --git a/bin/bin/mp b/bin/bin/mp new file mode 100755 index 0000000..9f03422 --- /dev/null +++ b/bin/bin/mp @@ -0,0 +1,3 @@ +#!/usr/bin/env perl + +exec "mpv", map { s/^([A-Z][A-Z])$/--profile=$1/ ; $_ } @ARGV; diff --git a/mpv/.mpv/config b/mpv/.mpv/config index 6f4df67..364b280 100644 --- a/mpv/.mpv/config +++ b/mpv/.mpv/config @@ -12,9 +12,9 @@ ytdl=no gapless-audio=yes autosync=30 -[extao] +[AO] audio-device=oss//dev/dsp3 oss-mixer-device=/dev/mixer3 -[volnorm] +[VN] af=lavfi=loudnorm