<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 September 2017 at 06:59, Peter Bennett <span dir="ltr"><<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><span class="gmail-">
<p><br>
</p>
<br>
<div class="gmail-m_7485059888633194910moz-cite-prefix">On 09/11/2017 04:25 PM, Jeff wrote:<br>
</div>
<blockquote type="cite">
<div class="gmail-m_7485059888633194910moz-text-plain" style="font-family:-moz-fixed;font-size:12px" lang="x-unicode">
<pre>Works a treat.
My only question is that I see in the frontend setup, that MythTV
support a load of system events, and one of them is a CEC command.
This lead me to think that the bash, cec-client and xdotool hackery
described above could be replaced by something altogether more elegant.
Does anybody know how to use the CEC command event directly in Myth?
Regards
Jeff
</pre>
</div>
<br>
<fieldset class="gmail-m_7485059888633194910mimeAttachmentHeader"></fieldset>
</blockquote></span>
You don't need any tomfoolery, it just works. See here <br>
<br>
<a class="gmail-m_7485059888633194910moz-txt-link-freetext" href="https://www.mythtv.org/wiki/Raspberry_Pi#Remote_Control_with_CEC" target="_blank">https://www.mythtv.org/wiki/<wbr>Raspberry_Pi#Remote_Control_<wbr>with_CEC</a><span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
Peter<br>
</font></span></div>
<br></blockquote><div><br></div><div>I found that the mythtv CEC support was mediocre and didn't support all the remote buttons currently on my TV remote so I continue to use <a href="https://github.com/pssc/libcec-daemon">libcec-daemon</a> and lircd </div><div><br></div><div>Appears there are newer forks of libcec-daemon that support <a href="https://github.com/benklop/libcec-daemon">libcec3</a> & <a href="https://github.com/HonzaCholasta/libcec-daemon">libcec4</a> now also aswell as a ppa <a href="https://launchpad.net/~benklop/+archive/ubuntu/mmc/" style="box-sizing:border-box;color:rgb(3,102,214);text-decoration-line:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px">https://launchpad.net/~benklop/+archive/ubuntu/mmc/</a></div></div><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anthony</div></div>