Ticket #7653 (closed patch: fixed)
Opened 3 years ago
Last modified 3 years ago
lircrcd needs CODEs to end with "\n"
|Reported by:||teague@…||Owned by:||ijr|
|Component:||MythTV - General||Version:||0.22|
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.
comment:1 Changed 3 years ago by stuartm
- Owner changed from stuartm to ijr
- Component changed from MythTV - User Interface Library to MythTV - General
comment:2 Changed 3 years ago by beirdo
- Status changed from new to closed
- Resolution set to fixed
comment:3 Changed 3 years ago by beirdo
- Milestone changed from unknown to 0.23