add external random video script
This commit is contained in:
parent
aba7738b4c
commit
7a51ad284a
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
$folder="/home/pi/Video"
|
||||
$player="cvlc"
|
||||
$playerparam="--no-osd --play-and-exit"
|
||||
|
||||
while true; do
|
||||
$player $playerparam"$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)"
|
||||
done
|
Loading…
Reference in New Issue