View Single Post
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#170
Originally Posted by cstryon View Post
Not exactly sure what I am doing.
..So... MediaBox -vvv
Then in media box Network and Storage > Upnp device I want
Then in xterm I got this, I hope it's what I was supposed to get :/
What I'm interested in is the stuff that looks like this:

Code:
2010-07-25 00:08:53.414 - DEBUG   --- === SOAP Request ===
>   <?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:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>0</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>50000</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body>
>   </s:Envelope>
>   ===
2010-07-25 00:08:53.427 - DEBUG   --- === SOAP Response ===
>   <?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>&lt;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/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;
>   &lt;container id="64" parentID="0" restricted="1" childCount="132"&gt;&lt;dc:title&gt;Browse Folders&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1" parentID="0" restricted="1" childCount="6"&gt;&lt;dc:title&gt;Music&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="3" parentID="0" restricted="1" childCount="4"&gt;&lt;dc:title&gt;Pictures&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="2" parentID="0" restricted="1" childCount="2"&gt;&lt;dc:title&gt;Video&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;/DIDL-Lite&gt;</Result>
>   <NumberReturned>4</NumberReturned>
>   <TotalMatches>4</TotalMatches>
>   <UpdateID>1</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
>   
>   ===
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock