diff --git a/RandomVideo.sh b/RandomVideo.sh index bc9ed55..6565511 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -2,7 +2,7 @@ folder="/mnt/video" player="cvlc" -playerparam="--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device hw:2" +playerparam="--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device=front:CARD=Device,DEV=0" pgrepplayer="vlc" swupgpio=23 diff --git a/buzzer.sh b/buzzer.sh index 0fc0043..c324760 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -6,7 +6,7 @@ swupgpio=23 swdowngpio=25 player="cvlc" -playerparam="--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device hw:2" +playerparam="--play-and-exit --quiet --no-osd -A alsa --alsa-audio-device=front:CARD=Device,DEV=0" pgrepplayer="vlc" cmdgpio="$(command -v gpio)"