Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#7653 closed patch (fixed)
lircrcd needs CODEs to end with "\n"
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | MythTV - General | Version: | 0.22 |
Severity: | medium | Keywords: | lirc libmythui |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
Changed 14 years ago by
Attachment: | mythtv_lirc_code.diff added |
---|
comment:1 Changed 14 years ago by
Component: | MythTV - User Interface Library → MythTV - General |
---|---|
Owner: | changed from stuartm to Isaac Richards |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
Milestone: | unknown → 0.23 |
---|
Adds "\n" to end of CODE in libmythui/lirc_client.c