[mythtv-commits] Ticket #6786: mythtvosd/udpnotify stops working after watching the first show
MythTV
mythtv at cvs.mythtv.org
Sat Aug 1 00:16:01 UTC 2009
#6786: mythtvosd/udpnotify stops working after watching the first show
----------------------------------+-----------------------------------------
Reporter: doug at fawnanddoug.com | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------
Hi All,
UDPnotify seems to stop working after watching the first show. The steps
to reproduce are:
1. start mythfrontend
2. watch a program
3. send a udp message (e.g. mythtvosd --template=cid) to confirm it works
4. exit the show (not mythfrontend)
5. start the show again
6. attempt to send a udp message again (this step fails)
I think the issue is that udpnotify->deleteLater() is never called when
tv_play.cpp shuts down. This means that the socket doesn't get closed so
future udp messages get lost. Attached is a patch to make sure that this
method is called in the TV deconstructor. I'm not sure if this is the
best place for it but it worked for me.
Thanks!
Doug
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6786>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list