I’ve been trying to get twonky media manager on windows ( a upnp CP / renderer combo ) to try and connect to our media server ( Based on Cyberlink ). we are able to connect ( able to subscribe to the content directory service ) , but cannot browse content, See below we get an error when we try to call the “Browse” action. Basically the ObjectID does-not match, the server has object id’s of “1” “2”, “3” etc but the control point sends “music/playlists” as the object ID which doesnot match any on the server.
My question is : Is there a valid range / allowed values of objectID which the client and the server agree upon or is there anything in the standard? How does the server communicate the valid range of object id’s to the client?
Hi Group Members,
I’ve been trying to get twonky media manager on windows ( a upnp CP / renderer combo ) to try and connect to our media server ( Based on Cyberlink ). we are able to connect ( able to subscribe to the content directory service ) , but cannot browse content, See below we get an error when we try to call the “Browse” action. Basically the ObjectID does-not match, the server has object id’s of “1” “2”, “3” etc but the control point sends “music/playlists” as the object ID which doesnot match any on the server.
My question is : Is there a valid range / allowed values of objectID which the client and the server agree upon or is there anything in the standard? How does the server communicate the valid range of object id’s to the client?
Regards,
Nimesh
SUBSCRIBE /service/ContentDirectory_event HTTP/1.1
HOST: 192.168.0.100:38520
SID: uuid:7c36-a12c-31de-e094
TIMEOUT: Second-300
Connection: close
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Server: Linux/2.6.29-b7e82785 UPnP/1.0 CyberLinkJava/1.8
Content-Length: 0
SID: uuid:7c36-a12c-31de-e094
TIMEOUT: Second-300
Date: Mon, 29 Nov 2010 21:21:25 GMT
POST /service/ContentDirectory_control HTTP/1.1
Accept: */*
User-Agent: PVConnect Media Manager DLNADOC/1.50
Host: 192.168.0.100:38520
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
CONTENT-TYPE: text/xml; charset="utf-8"
Content-Length: 470
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>music/playlists</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>999999</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset="utf-8"
Server: Linux/2.6.29-b7e82785 UPnP/1.0 CyberLinkJava/1.8
Content-Length: 559
EXT:
Date: Mon, 29 Nov 2010 21:16:54 GMT
<?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>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>