diff --git a/RandomVideo.sh b/RandomVideo.sh index c2f865f..e9fde60 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -1,7 +1,8 @@ #!/bin/sh folder="/mnt/video" -player="omxplayer" +player="cvlc" +playerparam=" -q" swupgpio=23 swdowngpio=25 @@ -37,6 +38,6 @@ if $(command -v pgrep) "$player" > /dev/null; then fi else - $(command -v "$player") "$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)" & + $(command -v "$player") $playerparam "$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)" & fi diff --git a/buzzer.sh b/buzzer.sh index 9ab6f3a..6649370 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -5,7 +5,7 @@ strobogpio=2 swupgpio=23 swdowngpio=25 -player="omxplayer" +player="cvlc" cmdgpio="$(command -v gpio)"