gmediaserver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gmediaserver-devel] Possible bug in gmedia server 0.13.0: over-esca


From: Oskar Liljeblad
Subject: Re: [gmediaserver-devel] Possible bug in gmedia server 0.13.0: over-escaping DIDL response
Date: Thu, 5 Mar 2009 13:13:12 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Saturday, January 03, 2009 at 11:41, David Hagood wrote:
> It seems that gmediaserver V0.13.0 is over-escaping the DIDL section of
> the response to the client. Here is an example response:
> 
> 2009-01-03 11:11 Event action result:
> 2009-01-03 11:11   <?xml version="1.0"?>
> 2009-01-03 11:11   <u:BrowseResponse
> xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
> 2009-01-03 11:11   <Result>&lt;DIDL-Lite
> xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;
> xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
> xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot;&gt;&lt;item 
> id=&quot;765&quot; parentID=&quot;0&quot; restricted=&quot;1&quot;&gt;&lt;res 
> protocolInfo=&quot;http-get:*:video/mp4:DLNA.ORG_PS=1;DLNA.ORG_CI=0;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00000000000000000000000000000000&quot;
>  
> size=&quot;12417521&quot;&gt;http://10.0.0.1:49152/files/765&lt;/res&gt;&lt;upnp:class&gt;object.item.videoItem.movie&lt;/upnp:class&gt;&lt;dc:title&gt;penguin.mp4&lt;/dc:title&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</Result>
> 2009-01-03 11:11   <NumberReturned>1</NumberReturned>
> 2009-01-03 11:11   <TotalMatches>34</TotalMatches>
> 2009-01-03 11:11   <UpdateID>0</UpdateID>
> 2009-01-03 11:11   </u:BrowseResponse>
> 
> Not that instead of
> <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-light/"
> and so on, the data is actually escaped:
> <Result>&lt;DIDL-Lite
> xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;
> 
> And so on.

Hi & Sorry for the late reply...
I just looked at this - it seems the upnp library is to blame.
GMediaServer does not escape the Result tag data.

Regards,

Oskar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]