mpvd

[discontinued] Simple daemonization script for mpv with controller
git clone https://noxz.tech/git/mpvd.git
Log | Files | LICENSE

commit: ff6ee386fb5bb51060a682982696de69c910b8ed
parent: f8239e95ebdd103cc44092c6ee5af58a4be6db90
author: Chris Noxz <chris@noxz.tech>
date:   Sat, 4 May 2019 10:18:39 +0200
Add support for new ztatus(c)
Mmpvc6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mpvc b/mpvc
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-mpvfifo="/tmp/mpvfifo"
+mpvfifo="/tmp/mpv.fifo"
 
 print_help() {
     echo "Usage: mpvc ACTION [ARGS]\n"
@@ -101,9 +101,9 @@ case "$1" in
     amute)
         amixer set Master toggle ;;
     araise)
-        amixer -q sset Master 5%+; killall -s 35 ztatus ;;
+        amixer -q sset Master 5%+; ztatusc update volume ;;
     alower)
-        amixer -q sset Master 5%-; killall -s 35 ztatus ;;
+        amixer -q sset Master 5%-; ztatusc update volume ;;
 
     # default behaviour
     help)