Also test for None as chromecast source

master
pidor 2017-03-19 00:57:49 +01:00
parent 1a79d0c8b2
commit fe4d415615
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ do
# logger -t "$(basename $0) $$" "source=$signalsource cast=$(cat /var/run/caststatus)" # logger -t "$(basename $0) $$" "source=$signalsource cast=$(cat /var/run/caststatus)"
sleep 10 sleep 10
caststatus="$(cat /var/run/caststatus)" caststatus="$(cat /var/run/caststatus)"
if [ "$caststatus" != "Backdrop" ] && if [ "$caststatus" != "Backdrop" ] && [ "$caststatus" != "None" ] &&
( [ "$signalsource" = "" ] || ( [ "$signalsource" = "" ] ||
[ "$signalsource" = "00" ] || [ "$signalsource" = "00" ] ||
[ "$signalsource" = "02" ] ) [ "$signalsource" = "02" ] )