Fixed some mpfire things

This commit is contained in:
maniacikarus
2009-01-29 22:29:53 +01:00
parent 74f3678b75
commit 96481f9519
3 changed files with 2 additions and 10 deletions

View File

@@ -26,13 +26,6 @@ elsif ($ARGV[0] eq 'playadd') {
if ($debug){print "Yes we are called and we will add $ARGV[1]\n";}
system("mpc add \"$ARGV[1]\" >/dev/null && mpc play >/dev/null");
}
elsif ($ARGV[0] eq 'playlist') {
&checkmute();
&shuffle();
&clearplaylist();
if ($debug){print "Yes we are called and we will play your Playlist\n";}
system("mpc load playlist >/dev/null && mpc play >/dev/null");
}
elsif ($ARGV[0] eq 'clearplaylist') {
if ($debug){print "Deleting playlist\n";}
&clearplaylist();