[mythtv] Pinnacle upnp device - xml device recieves

Lukas Kasprowicz lukas.kasprowicz at online.de
Mon Feb 26 14:36:54 UTC 2007


Hi,

I tried to use a upnp music device, but with no luck. I was not able yet to 
find the correct place in the code. Following happens:
After browsing the list on the device and selecting a song to play the device 
recieves with TwonkyMusic right before fetching the mp3 a packet that looks 
like this (Device is able to play the song):

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" 
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
		<u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
			<Result>
				<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" 
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" 
xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/">
					<item id="268435466$1744831002" parentID="268435466" restricted="1" >
						<dc:title>Mother</dc:title>
						<upnp:artist>Tape</upnp:artist>
						<upnp:album>#1</upnp:album>
						<upnp:genre>Rock/Pop</upnp:genre>
						<upnp:originalTrackNumber>1</upnp:originalTrackNumber>
						<res size="3610418"  duration="0:03:46"  
protocolInfo="http-get:*:audio/mpeg:*" 
>http://192.168.179.253:9001/disk/music/O268435466$1744831002.mp3</res>
						<upnp:class>object.item.audioItem.musicTrack</upnp:class>
					</item>
				</DIDL-Lite>
			</Result>
			<NumberReturned>1</NumberReturned>
			<TotalMatches>1</TotalMatches>
			<UpdateID>0</UpdateID>
		</u:BrowseResponse>
	</s:Body>
</s:Envelope>

With Mythtv upnp this packet looks like this:

<?xml version="1.0" encoding="utf-8"?>.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" 
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<s:Body>
		<u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
			<Result>
				<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" 
xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" 
xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/">
					<container id="Music/2/key=620/track?Id=5806" parentID="Music/2/key=620" 
childCount="753" restricted="1" searchable="1" >
						<dc:title>#1</dc:title>
						<upnp:class>object.container</upnp:class>
					</container>
				</DIDL-Lite>
			</Result>
			<NumberReturned>1</NumberReturned>
			<TotalMatches>1</TotalMatches>
			<UpdateID>1</UpdateID>
		</u:BrowseResponse>
	</s:Body>.
</s:Envelope>


In both Packets &lt; and &gt; are replaced. These appeared in 
<Result></Result>

With the working upnp server it has the file to fetch. in Mythtv it does not 
have this.

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070226/d96fa286/attachment.pgp 


More information about the mythtv-dev mailing list