Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
721 stars 290 forks source link

Is it possible to launch an app on TV using HDMI cec command? #456

Open vijayvikma opened 5 years ago

vijayvikma commented 5 years ago

Hello Experts,

I have been trying and using cec-client commands referring to this website http://www.cec-o-matic.com/ .

I am not able to find/recognize anything which can launch an app(e.x. YouTube).

I am using raspbian OS on pi 3b+ and having connected to my android TV on HDMI port 1.

malard commented 5 years ago

No :)

From my phone

-------- Original Message -------- Subject: [Pulse-Eight/libcec] Is it possible to launch an app on TV using HDMI cec command? (#456) From: vijayvikma notifications@github.com To: Pulse-Eight/libcec libcec@noreply.github.com CC: Subscribed subscribed@noreply.github.com

Hello Experts,

I have been trying and using cec-client commands referring to this website http://www.cec-o-matic.com/ .

I am not able to find/recognize anything which can launch an app(e.x. YouTube).

I am using raspbian OS on pi 3b+ and having connected to my android TV on HDMI port 1.

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Pulse-Eight/libcec/issues/456, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAEFI5YA5KTZKHE7CL7VF5LPTKLBVANCNFSM4HJ4BBOQ.

vijayvikma commented 5 years ago

@malard Thanks for the clarification. Somehow I managed to get a workaround by executing up/down/select key command.:) Below are the step/flow working for my tv. pi@raspberrypi:~ $ cat openyoutube.sh echo 'tx E0:44:09' | cec-client -s -m;#go to tv home menu

echo 'tx E0:44:02' | cec-client -s -m;# down echo 'tx E0:44:02' | cec-client -s -m; echo 'tx E0:44:02' | cec-client -s -m;

echo 'tx E0:44:04' | cec-client -s -m;# right echo 'tx E0:44:04' | cec-client -s -m; echo 'tx E0:44:04' | cec-client -s -m;

echo 'tx E0:44:00' | cec-client -s -m;# select

echo 'tx E0:44:02' | cec-client -s -m; echo 'tx E0:44:04' | cec-client -s -m; echo 'tx E0:44:00' | cec-client -s -m;