[mythtv-commits] Ticket #10099: Frontend/LcdServer communication
MythTV
noreply at mythtv.org
Sat Oct 15 12:48:24 UTC 2011
#10099: Frontend/LcdServer communication
-------------------------------------------------+-------------------------
Reporter: David Matthews <dm@…> | Owner: jarod
Type: Bug Report - General | Status: new
Priority: minor | Milestone:
Component: MythTV - Mythlcdserver | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Communication between the front-end and the LCD server seems to be broken
in git head so actions in the front-end don't get displayed on the LCD.
It looks like the problem stems from a change to the constructor for
MythSocketDevice which creates a real socket only if it is creating a UDP
socket. TCP sockets, according to the comment are deferred to the
"connect". The problem with that is that LCD::connectToHost calls
setCallbacks before it calls connect and MythSocketThread::AddToReadyRead
doesn't work if the socket is unset. The work-around is to comment out
the "if (type == Datagram)" in MSocketDevice::MSocketDevice.
David
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10099>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list