[mythtv-commits] mythtv branch master updated by stuartm. v0.28-pre-2058-g78d50ba

Git Repo Owner noreply at mythtv.org
Sat Aug 2 19:16:52 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  78d50babff8e118714dd6fd112ee44aed856f453 (commit)
       via  1393479c3b19ec41014f07eb78e7cc15f52c9ccb (commit)
      from  7c1d50d6add6b190c11e3d5050dc2d42e9684ad3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 78d50babff8e118714dd6fd112ee44aed856f453
Author:    Stuart Morgan <smorgan at mythtv.org> at Sat, 2 Aug 2014 13:08:09 +0100
Committer: Stuart Morgan <smorgan at mythtv.org> at Sat, 2 Aug 2014 19:30:58 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=78d50babff8e118714dd6fd112ee44aed856f453

UPnP: Have the UPnP server use ServerPool::DefaultListen()
Instead of duplicating the listen address code, re-use the newer QT
based code which is actively maintained.

There are two major differences between the old and new:
* DefaultListen() returns the loopback address and GetIPAddresses()
did not. I don't yet know if this will cause a problem or whether it's
'legal' for UPnP.
* DefaultListen() properly supports IPv6 addresses. This hasn't be
tested, and I'd be surprised if everything just works. Testing by
those using IPv6 would be appreciated as I'm not in a position to do
it myself.

Const fixes and remove the dead code.
UPnP: Prevent m_pHttpServer being set to itself in MediaServer::Init()



commit 1393479c3b19ec41014f07eb78e7cc15f52c9ccb
Author:    Stuart Morgan <smorgan at mythtv.org> at Sat, 2 Aug 2014 12:38:12 +0100
Committer: Stuart Morgan <smorgan at mythtv.org> at Sat, 2 Aug 2014 19:30:49 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1393479c3b19ec41014f07eb78e7cc15f52c9ccb

UPnP: Construct the supported protocolInfo lists from the list of support mimetypes
This reduces the number of places that we need to maintain the list of
supported formats.

TODO Instead of hard-coding http-get, have it pull in a list of
supported protocols as well.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythupnp/httprequest.cpp        |   16 ++
 mythtv/libs/libmythupnp/httprequest.h          |    1 +
 mythtv/libs/libmythupnp/upnp.cpp               |   12 +-
 mythtv/libs/libmythupnp/upnp.h                 |    9 +-
 mythtv/libs/libmythupnp/upnpsubscription.cpp   |   15 +-
 mythtv/libs/libmythupnp/upnptasknotify.cpp     |   12 +-
 mythtv/libs/libmythupnp/upnptasksearch.cpp     |   10 +-
 mythtv/libs/libmythupnp/upnptasksearch.h       |    8 +-
 mythtv/libs/libmythupnp/upnputil.cpp           |  178 ++++++------------------
 mythtv/libs/libmythupnp/upnputil.h             |    7 +-
 mythtv/programs/mythbackend/httpstatus.cpp     |    2 +-
 mythtv/programs/mythbackend/mediaserver.cpp    |   93 +++++--------
 mythtv/programs/mythfrontend/mediarenderer.cpp |   24 +---
 13 files changed, 141 insertions(+), 246 deletions(-)

-- 



More information about the mythtv-commits mailing list