From e772cc6eaa2333e030677567e30bf3de48956043 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 30 Nov 2014 11:45:58 +0100 Subject: mopidy localhost fixes --- ratpoison/mpdvolind | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratpoison/mpdvolind') diff --git a/ratpoison/mpdvolind b/ratpoison/mpdvolind index 1f79362..c279af8 100755 --- a/ratpoison/mpdvolind +++ b/ratpoison/mpdvolind @@ -1,5 +1,5 @@ #!/bin/bash -volm=`mpc volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'` +volm=`mpc -h 127.0.0.1 volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'` if [[ "$volm" -eq "100" ]]; then let volm=99 -- cgit v1.2.3-54-g00ecf