Two remote controls: mplayer and mpg321.
authorviric@llimona
Fri, 14 Sep 2007 21:58:22 +0200
changeset 8 af5545cb286e
parent 7 af8d59476914
child 9 d688e3670487
Two remote controls: mplayer and mpg321.
utils/mpg321-remote
utils/mplayer-remote
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utils/mpg321-remote	Fri Sep 14 21:58:22 2007 +0200
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ $1 == "-b" ]; then
+  echo "jump -100" | stdinmix
+elif [ $1 == "-p" ]; then
+  echo "pause" | stdinmix
+elif [ $1 == "-q" ]; then
+  echo "quit" | stdinmix
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utils/mplayer-remote	Fri Sep 14 21:58:22 2007 +0200
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ $1 == "-b" ]; then
+  echo "seek -4" | stdinmix
+elif [ $1 == "-p" ]; then
+  echo "pause" | stdinmix
+elif [ $1 == "-q" ]; then
+  echo "quit" | stdinmix
+fi