]> git.sesse.net Git - vlc/commit
Support for LG N1A1 UPnP server
authorFabrizio Gennari <fabrizio.ge@tiscali.it>
Tue, 6 Jan 2015 22:24:30 +0000 (23:24 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 6 Jan 2015 22:27:32 +0000 (23:27 +0100)
commit0ec04296a44bd29b973dc71a0a2d3f39aed798d5
tree1ee4399b51d2cd8dcc6e898c84ce49c0be1887b5
parent78fd35bd6e99124e9cce84fb0ac6f221b8563fd3
Support for LG N1A1 UPnP server

Connecting to a LG N1A1 NAS device gave:
upnp services discovery error: browse() response parsing failed

There is a "ugly hack" ("The DIDL document is extracted from the Result tag,
then wrapped into a valid XML header and a new root tag") in the code now.
This actually break parsing the reply by the LG N1A1.

Now, we try parsing the reply as is, and uses the "ugly hack" as a fallback only.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/services_discovery/upnp.cpp