[mythtv-commits] Ticket #11111: Fix UUID generation in UPNP
MythTV
noreply at mythtv.org
Sat Sep 22 11:30:44 UTC 2012
#11111: Fix UUID generation in UPNP
----------------------------------------+--------------------------
Reporter: Rune Petersen <rune@…> | Owner: dblain
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Keywords: upnp fix udn
Ticket locked: 0 |
----------------------------------------+--------------------------
currently LookupUDN() will generate invalid UUID which is then used to
generate a invalid UDN. this may cause problems with UPNP devices that
parses the UDN - resulting in failed discovery.
Currently LookupUDN() generates UUID like this:
"{74c5afe6-181b-46b1-9a4b-ae9e53d0e47"
this results in a UDN looking like this:
"uuid:{74c5afe6-181b-46b1-9a4b-ae9e53d0e47"
The patch changes the code to remove the leading '{' and trailing '}'
maiing the UUID look like this:
"74c5afe6-181b-46b1-9a4b-ae9e53d0e479"
and a valid UDN:
"uuid:74c5afe6-181b-46b1-9a4b-ae9e53d0e479"
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11111>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list