switch to cvlc player
This commit is contained in:
parent
33b69fbecf
commit
f8f416a05c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue