From fe4d415615b73abfaa5f5c03569793c7291b7f51 Mon Sep 17 00:00:00 2001 From: pidor Date: Sun, 19 Mar 2017 00:57:49 +0100 Subject: [PATCH] Also test for None as chromecast source --- scripts/beamerdetect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/beamerdetect.sh b/scripts/beamerdetect.sh index efdfdbe..184d1bd 100755 --- a/scripts/beamerdetect.sh +++ b/scripts/beamerdetect.sh @@ -79,7 +79,7 @@ do # logger -t "$(basename $0) $$" "source=$signalsource cast=$(cat /var/run/caststatus)" sleep 10 caststatus="$(cat /var/run/caststatus)" - if [ "$caststatus" != "Backdrop" ] && + if [ "$caststatus" != "Backdrop" ] && [ "$caststatus" != "None" ] && ( [ "$signalsource" = "" ] || [ "$signalsource" = "00" ] || [ "$signalsource" = "02" ] )