Display folder error..

Help
Anonymous
2011-02-01
2013-05-29
  • Anonymous - 2011-02-01

    I am running MiniDLNA 1.0.18 on linux.

    I have the default minidlna.conf file, with this adjustment to the media dir line:

    media_dir=V,/media/My_Book/Video/

    Where /media/My_Book/Video/ is a folder on external hard drive with Movie and TV subfolders.

    When I connect with any number of DLNA clients on my iphone i see basically four 'folders'

    Browse Folders
    Music
    Pictures
    Video

    Music and Pictures have nothing in them (as expected), but 'Browse Folders' and 'Video'  have the directory structure and files I am looking for.

    However, when I try to browse with my Samsung BD-C550 Blu-ray player, The server shows and I am asked if i want to browse for

    Video
    Music
    Pictures

    (these choices are presented by the player, not minidlna)

    I choose 'Video'

    And am presented with the following folder structure:

    Album
    All Music
    Artist
    Flders
    Genre
    Playlists

    Which matches the structure in my other clients if I enter the 'Music' folder presented by minidlna

    So, it looks like the blu-ray player's "browser' is attaching and starting to browse from the 'Music' container in minidlna. This seems to be something on the blu-ray side….but i wonder if there is any way to change what is being presented?

     
  • Anonymous - 2011-02-01

    For what it is worth, here is the output from the 'debug' option, when teh blu ray player tries to connect (USER-AGENT: SEC_HHP_BD-C5500/1.0 )

    [2011/02/01 13:28:26] upnphttp.c:555: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#Browse
    [2011/02/01 13:28:26] upnpsoap.c:1551: debug: SoapMethod: Browse
    [2011/02/01 13:28:26] upnpsoap.c:1033: debug: Browsing ContentDirectory:
     * ObjectID: 1
     * Count: -1
     * StartingIndex: 0
     * BrowseFlag: BrowseDirectChildren
     * Filter: *
     * SortCriteria: (null)
    [2011/02/01 13:28:26] upnpsoap.c:1099: debug: Browse SQL: SELECT o.OBJECT_ID, o.PARENT_ID, o.REF_ID, o.DETAIL_ID, o.CLASS, d.SIZE, d.TITLE, d.DURATION, d.BITRATE, d.SAMPLERATE, d.ARTIST, d.ALBUM, d.GENRE, d.COMMENT, d.CHANNELS, d.TRACK, d.DATE, d.RESOLUTION, d.THUMBNAIL, d.CREATOR, d.DLNA_PN, d.MIME, d.ALBUM_ART, d.DISC, c.PATH from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) left join CAPTIONS c on (c.ID = o.DETAIL_ID) where PARENT_ID = '1'  limit 0, -1;
    [2011/02/01 13:28:26] upnphttp.c:1036: debug: HTTP RESPONSE: HTTP/1.1 200 OK
    Content-Type: text/xml; charset="utf-8"
    Connection: close
    Content-Length: 1806
    Server: Linux/2.6.36-dockstar DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
    <?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="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp= &apos;urn:schemas-upnp-org:metadata-1-0/upnp/&apos; xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;
    &lt;container id="1$7" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Album&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1$4" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;All Music&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1$6" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Artist&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1$14" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Folders&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1$5" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Genre&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;container id="1$F" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Playlists&lt;/dc:title&gt;&lt;upnp:class&gt;object.container.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;/DIDL-Lite&gt;</Result>
    <NumberReturned>6</NumberReturned>
    <TotalMatches>6</TotalMatches>
    <UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
    [2011/02/01 13:30:42] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1025 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:30:43] minidlna.c:1007: debug: HTTP connection from 192.168.1.118:58614
    [2011/02/01 13:30:43] upnphttp.c:398: debug: Added client [3/192.168.1.118/00:23:99:88:1B:B4] to cache slot 0.
    [2011/02/01 13:30:43] upnphttp.c:712: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.0
    HOST: 192.168.1.121:8200
    USER-AGENT: SEC_HHP_BD-C5500/1.0
    ACCEPT-LANGUAGE: en-us
    [2011/02/01 13:30:43] upnphttp.c:1036: debug: HTTP RESPONSE: HTTP/1.1 200 OK
    Content-Type: text/xml; charset="utf-8"
    Connection: close
    Content-Length: 2472
    Server: Linux/2.6.36-dockstar DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
    <?xml version="1.0"?>
    <root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:sec="http://www.sec.co.kr/dlna" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>Basement Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.kernel.org/</manufacturerURL><modelDescription>MiniDLNA on Linux</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>bsm123s</modelNumber><modelURL>http://www.kernel.org/</modelURL><serialNumber>12345678</serialNumber><sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap><sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap><UDN>uuid:4d696e69-444c-164e-9d41-0010751a5f8f</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><presentationURL>http://192.168.1.121:8200</presentationURL><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><controlURL>/ctl/ContentDir</controlURL><eventSubURL>/evt/ContentDir</eventSubURL><SCPDURL>/ContentDir.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/ctl/ConnectionMgr</controlURL><eventSubURL>/evt/ConnectionMgr</eventSubURL><SCPDURL>/ConnectionMgr.xml</SCPDURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><controlURL>/ctl/X_MS_MediaReceiverRegistrar</controlURL><eventSubURL>/evt/X_MS_MediaReceiverRegistrar</eventSubURL><SCPDURL>/X_MS_MediaReceiverRegistrar.xml</SCPDURL></service></serviceList></device></root>
    [2011/02/01 13:30:43] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1025 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:30:43] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1026 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:30:43] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1025 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:30:43] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1026 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:30:43] minissdp.c:405: info: SSDP M-SEARCH from 192.168.1.118:1026 ST: urn:schemas-upnp-org:device:MediaServer:1, MX: 4, MAN: "ssdp:discover"
    [2011/02/01 13:31:19] minidlna.c:1007: debug: HTTP connection from 192.168.1.118:51390
    [2011/02/01 13:31:19] upnphttp.c:117: debug: Client found in cache. [type 3/entry 0]
    [2011/02/01 13:31:19] upnphttp.c:712: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
    HOST: 192.168.1.121:8200
    CONTENT-LENGTH: 255
    CONTENT-TYPE: text/xml;charset="utf-8"
    USER-AGENT: DLNADOC/1.50
    SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:X_GetFeatureList xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"></u:X_GetFeatureList></s:Body></s:Envelope>
    [2011/02/01 13:31:19] upnphttp.c:555: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList
    [2011/02/01 13:31:19] upnpsoap.c:1551: debug: SoapMethod: X_GetFeatureList
    [2011/02/01 13:31:19] upnphttp.c:1036: debug: HTTP RESPONSE: HTTP/1.1 200 OK
    Content-Type: text/xml; charset="utf-8"
    Connection: close
    Content-Length: 1720
    Server: Linux/2.6.36-dockstar DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
    <?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:X_GetFeatureListResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><FeatureList>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;Features xmlns=&quot;urn:schemas-upnp-org:av:avs&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot; urn:schemas-upnp-org:av:avs http://www.upnp.org/schemas/av/avs.xsd&quot;&gt;&lt;Feature name=&quot;samsung.com_BASICVIEW&quot; version=&quot;1&quot;&gt;&lt;container id=&quot;2&quot; type=&quot;object.item.videoItem&quot;/&gt;&lt;container id=&quot;1&quot; type=&quot;object.item.audioItem&quot;/&gt;&lt;container id=&quot;3&quot; type=&quot;object.item.imageItem&quot;/&gt;&lt;/Feature&gt;&lt;Feature name=&quot;samsung.com_DCMVIEW&quot; version=&quot;1&quot;&gt;&lt;container id=&quot;3$12&quot; type=&quot;IMAGE_Timeline&quot;/&gt;&lt;container id=&quot;3$16&quot; type=&quot;IMAGE_Folder&quot;/&gt;&lt;container id=&quot;3$11&quot; type=&quot;IMAGE_Title&quot;/&gt;&lt;container id=&quot;1$5&quot; type=&quot;AUDIO_Genre&quot;/&gt;&lt;container id=&quot;1$6&quot; type=&quot;AUDIO_Artist&quot;/&gt;&lt;container id=&quot;1$14&quot; type=&quot;AUDIO_Folder&quot;/&gt;&lt;container id=&quot;1$4&quot; type=&quot;AUDIO_Title&quot;/&gt;&lt;container id=&quot;1$7&quot; type=&quot;AUDIO_Album&quot;/&gt;&lt;container id=&quot;2$8&quot; type=&quot;VIDEO_Title&quot;/&gt;&lt;container id=&quot;2$15&quot; type=&quot;VIDEO_Folder&quot;/&gt;&lt;/Feature&gt;&lt;/Features&gt;</FeatureList></u:X_GetFeatureListResponse></s:Body></s:Envelope>
    [2011/02/01 13:31:19] minidlna.c:1007: debug: HTTP connection from 192.168.1.118:49928
    [2011/02/01 13:31:19] upnphttp.c:117: debug: Client found in cache. [type 3/entry 0]
    [2011/02/01 13:31:19] upnphttp.c:712: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.0
    HOST: 192.168.1.121:8200
    CONTENT-LENGTH: 415
    CONTENT-TYPE: text/xml;charset="utf-8"
    USER-AGENT: DLNADOC/1.50
    SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
    <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>1</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>
    [2011/02/01 13:31:19] upnphttp.c:555: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#Browse
    [2011/02/01 13:31:19] upnpsoap.c:1551: debug: SoapMethod: Browse
    [2011/02/01 13:31:19] upnpsoap.c:1033: debug: Browsing ContentDirectory:
     * ObjectID: 1
     * Count: 1
     * StartingIndex: 0
     * BrowseFlag: BrowseDirectChildren
     * Filter: *
     * SortCriteria: (null)
    [2011/02/01 13:31:20] upnpsoap.c:1099: debug: Browse SQL: SELECT o.OBJECT_ID, o.PARENT_ID, o.REF_ID, o.DETAIL_ID, o.CLASS, d.SIZE, d.TITLE, d.DURATION, d.BITRATE, d.SAMPLERATE, d.ARTIST, d.ALBUM, d.GENRE, d.COMMENT, d.CHANNELS, d.TRACK, d.DATE, d.RESOLUTION, d.THUMBNAIL, d.CREATOR, d.DLNA_PN, d.MIME, d.ALBUM_ART, d.DISC, c.PATH from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) left join CAPTIONS c on (c.ID = o.DETAIL_ID) where PARENT_ID = '1'  limit 0, 1;
    [2011/02/01 13:31:20] upnphttp.c:1036: debug: HTTP RESPONSE: HTTP/1.1 200 OK
    Content-Type: text/xml; charset="utf-8"
    Connection: close
    Content-Length: 854
    Server: Linux/2.6.36-dockstar DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
    <?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="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp= &apos;urn:schemas-upnp-org:metadata-1-0/upnp/&apos; xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"&gt;
    &lt;container id="1$7" parentID="1" restricted="1" childCount="0"&gt;&lt;dc:title&gt;Album&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;/container&gt;&lt;/DIDL-Lite&gt;</Result>
    <NumberReturned>1</NumberReturned>
    <TotalMatches>6</TotalMatches>
    <UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
    
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks