2018-03-10, 12:23
hello,
iam using kodi for my "smart tv" with my pi 3. I am controlling my pi via Cec (with the remote from the tv). it's working all perfectly, but while kodi runs, my script to steer my mouse is continue running. I've testet it with wait $(pgrep KODI) but that didin't worked. Is the a wait command or smething like that?
the piece in my script for starting and waiting for kodi:
iam using kodi for my "smart tv" with my pi 3. I am controlling my pi via Cec (with the remote from the tv). it's working all perfectly, but while kodi runs, my script to steer my mouse is continue running. I've testet it with wait $(pgrep KODI) but that didin't worked. Is the a wait command or smething like that?
the piece in my script for starting and waiting for kodi:
Quote: "F3")
xdotool key F8
;;
"F4")
kodi
sleep 3
wait $(pgrep KODI)
wait $(pgrep Kodi)
wait $(pgrep kodi)
wait $(pgrep xbmc)
wait $(pgrep XBMC)
;;
"F1")
lxterminal -e 'chromium-browser --start-fullscreen --start-maximized %U'
;;