[mythtv-users] Mythbackend UPnP alive messages not broadcast

Martin Darwin martin.darwin at gmail.com
Thu Oct 17 16:23:40 UTC 2013


Mythbackend UPnP doesn't seem to issue alive messages. This causes my WD
live TV media streamer to stop playing after about 1hr (max-age is 3600
seconds).

I believe I have tracked it down to mmulticastsocketdevice.cpp. For
whatever reason, it appears m_local_addresses is empty. I see it should be
initialized in mmulticastsocketdevice.h but it is not. Adding
 m_local_addresses = QNetworkInterface::allAddresses();  to
MMulticastSocketDevice::writeBlock() seems to fix it.

I am no c++ expert so I don't know why the initialization doesn't work on
my system.  Anyone else see this? Or is it just something specific to my
setup?
I am running 0.27-fixes now (saw this on 0.26-fixes as well).

MD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131017/552dc7d1/attachment.html>


More information about the mythtv-users mailing list