diff --git a/randomvideo.sh b/randomvideo.sh new file mode 100644 index 0000000..f1f2df2 --- /dev/null +++ b/randomvideo.sh @@ -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 \ No newline at end of file