[mythtv-commits] Ticket #7653: lircrcd needs CODEs to end with "\n"
MythTV
mythtv at cvs.mythtv.org
Tue Nov 24 06:04:01 UTC 2009
#7653: lircrcd needs CODEs to end with "\n"
---------------------------------------------+------------------------------
Reporter: teague@… | Owner: stuartm
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - User Interface Library | Version: 0.22
Severity: medium | Mlocked: 0
---------------------------------------------+------------------------------
I want to use lircrcd to switch lirc modes when I spawn mplayer to watch
videos. (lircrcd talks with all lirc clients to coordinate lirc modes
across different clients.) At least as of lirc 0.8.5, lircrcd needs the
CODE commands it receives over its socket to end with "\n", else it dies -
but the version of lirc_client.c included in libmythui doesn't end its
CODEs with "\n".
The attached patch is trivial, and adds "\n" to lirc_code2char in
libmythui/lirc_client.c. It does not impact the behavior of lirc or
mythtv when not using lircrcd (tested.) It is svn diffed against
22-fixes.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7653>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list