utils/mpg321-remote
author viric@mandarina
Mon, 28 Apr 2008 21:37:16 +0200
changeset 89 2692e4742267
parent 8 af5545cb286e
permissions -rwxr-xr-x
Moving the utils from stdinmix to tm.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     1
#!/bin/sh
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     2
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     3
if [ $1 == "-b" ]; then
89
2692e4742267 Moving the utils from stdinmix to tm.
viric@mandarina
parents: 8
diff changeset
     4
  echo "jump -100" | tm
8
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     5
elif [ $1 == "-p" ]; then
89
2692e4742267 Moving the utils from stdinmix to tm.
viric@mandarina
parents: 8
diff changeset
     6
  echo "pause" | tm
8
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     7
elif [ $1 == "-q" ]; then
89
2692e4742267 Moving the utils from stdinmix to tm.
viric@mandarina
parents: 8
diff changeset
     8
  echo "quit" | tm
8
af5545cb286e Two remote controls: mplayer and mpg321.
viric@llimona
parents:
diff changeset
     9
fi