my Pi is used as an Presentationsystem with an TV. Via ssh/scp i randomly upload new video files to the pi which are played by this script:
Code: Select all
# you can normally leave this alone
SERVICE="omxplayer"
# now for our infinite loop!
while true; do
if ps ax | grep -v grep | grep $SERVICE > /dev/null
then
sleep 1;
else
for entry in $VIDEOPATH/*
do
clear
omxplayer -o hdmi -y $entry > /dev/null
done
fi
done
I set BLANK_TIME and POWERDOWN_TIME to 0 but it doesn't help.
Any suggestions why the pi isn't accessible?
I've tested it with different pis and when the tv stays connected and is turnt on, their seems not to be any problems.
Thanks