mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Fixed some mpfire things
This commit is contained in:
@@ -231,8 +231,7 @@ if ( $mpfiresettings{'ACTION'} eq "scan" ){
|
||||
}elsif ( $mpfiresettings{'ACTION'} eq "playweb" ){
|
||||
$message=system("/usr/local/bin/mpfirectrl","playweb","\"$mpfiresettings{'FILE'}\"","2>/dev/null");
|
||||
}elsif ( $mpfiresettings{'ACTION'} eq "playlist" ){
|
||||
# on keypress play the playlist
|
||||
$message=system("/usr/local/bin/mpfirectrl playlist 2>/dev/null");
|
||||
$mpd->play();
|
||||
}elsif ( $mpfiresettings{'ACTION'} eq "emptyplaylist" ){
|
||||
# on keypress clear the playlist
|
||||
$mpd->playlist->clear();
|
||||
|
||||
Reference in New Issue
Block a user