Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Video thumbnail / Album cover

Help
2010-07-24
2014-03-12
  • Sebastian Just
    Sebastian Just
    2010-07-24

    I'm just trying several DLNA servers and miniDLNA seems to be the best of free availible open source software. Great work guys!

    But I've got some minor problems currently in conjunction with my Samsung LE46C750. I'm usuing the latest miniDLNA release (As I couldn't get the required SQLite version on my Centos box)

    Both video thumbnails and Album cover arent' working on the Samsung TV.
    I placed a cover.jpg in a music folder an open this folder on my TV. I can see in the miniDLNA output that the album arts is published (and the link is working - I checked with a regular browser). But my TV ignores it completly and shows the defaul icon

    The same happens to video files (I saw the Featuresrequest / Patch to generate a thumbnail directly from the video file).
    I placed a JPG next to the video file:
    mysamplevideo.avi
    mysamplevideo.avi.jpg
    Here I even can't find a reference to the jpg file in the miniDLNA debug output.

    Is this a missing feature of miniDLNA<->Samsung TV or is there some configuration error?
    I'm happy to provide any additional information.

     
    • Daniel
      Daniel
      2014-03-12

      Can anyone help me? I had the Sony Bravia 42W65, i want that minidlna reorganize the thumb to the mkv file. for eg.
      movie.mkv
      movie.mkv.jpg
      So that the thumb will be over the file in the tv. How i can realise that?

       
  • Stephan Blanke
    Stephan Blanke
    2010-10-17

    On my Samsung UE40C6700 i see the same problem: neither video thumbnails nor album covers. Since this works with the wms trial version, ich tried to track down the issue with wireshark.

    Here are the corresponding excerpts from the wireshark trace file and the minidlna debug output:

    Samsung Requests Directory Listing:

    POST /ctl/ContentDir HTTP/1.0
    HOST: 192.168.1.10:8200
    CONTENT-LENGTH: 661
    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>64$3$8</ObjectID>
          <BrowseFlag>BrowseDirectChildren</BrowseFlag>
          <Filter>@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator</Filter>
          <StartingIndex>0</StartingIndex>
          <RequestedCount>20</RequestedCount>
          <SortCriteria></SortCriteria>
        </u:Browse>
      </s:Body>
    </s:Envelope>
    

    WMS answers:

    HTTP/1.0 200 OK
    Content-Type: text/xml; charset="utf-8"
    Content-Length: 18629
    Connection: close
    Date: Sun, 17 Oct 2010 01:45:46 +0200
    Cache-Control: no-cache
    Expires: 0
    Last-Modified: Sun, 17 Oct 2010 01:45:46 +0200
    EXT:
    Server: Windows/6.17600 UPnP/1.0 DLNADOC/1.50 Wild Media Server (UPnP, DLNA, HTTP)/1.05.1
    <?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/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/">
                <item id="66ad48c8ab3af9370079ddeb5f5fe9be" refID="5cb448016f5d44a9c7d67fbbaea6e375" parentID="81e3cb9b097466383ed706f44bc97d50" restricted="1">
                  <dc:title>01 - Lycanthrope</dc:title>
                  <upnp:class>object.item.audioItem.musicTrack</upnp:class>
                  <dc:date>2006-01-01</dc:date>
                  <sec:dcmInfo>CREATIONDATE=1270466888,FOLDER=+44 - 2006 - When Your Heart Stops Beating,YEAR=2006,MONTHLY=04</sec:dcmInfo>
                  <dc:creator>+44</dc:creator>
                  <upnp:album>When Your Heart Stops Beating</upnp:album>
                  <upnp:genre>Punk,Rock</upnp:genre>
                  <upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.1.10:45357/MediaServer/Thumbnails/66ad48c8ab3af9370079ddeb5f5fe9be</upnp:albumArtURI>
                  <res size="7915678" duration="00:03:57.583" bitrate="33317" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=61F00000000000000000000000000000">http://192.168.1.10:45357/MediaServer/AudioItems/66ad48c8ab3af9370079ddeb5f5fe9be.mp3?infokey=58005b6703ca80d6cb15ba3574a9719a</res>
                  <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00d00000000000000000000000000000" resolution="320x320">http://192.168.1.10:45357/MediaServer/Thumbnails/66ad48c8ab3af9370079ddeb5f5fe9be</res>
                </item>
                <item id="bb073339d0af37e8e22b1b986efb5563" refID="91a3be70bf9b89970461cb1fd5cf178c" parentID="81e3cb9b097466383ed706f44bc97d50" restricted="1">
                  <dc:title>02 - Baby, Come On</dc:title>
                  <upnp:class>object.item.audioItem.musicTrack</upnp:class>
                  <dc:date>2006-01-01</dc:date>
                  <sec:dcmInfo>CREATIONDATE=1270466890,FOLDER=+44 - 2006 - When Your Heart Stops Beating,YEAR=2006,MONTHLY=04</sec:dcmInfo>
                  <dc:creator>+44</dc:creator>
                  <upnp:album>When Your Heart Stops Beating</upnp:album>
                  <upnp:genre>Punk,Rock</upnp:genre>
                  <upnp:albumArtURI dlna:profileID="JPEG_TN" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">http://192.168.1.10:45357/MediaServer/Thumbnails/bb073339d0af37e8e22b1b986efb5563</upnp:albumArtURI>
                  <res size="4856514" duration="00:02:46.138" bitrate="29231" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=61F00000000000000000000000000000">http://192.168.1.10:45357/MediaServer/AudioItems/bb073339d0af37e8e22b1b986efb5563.mp3?infokey=58005b6703ca80d6cb15ba3574a9719a</res>
                  <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00d00000000000000000000000000000" resolution="320x320">http://192.168.1.10:45357/MediaServer/Thumbnails/bb073339d0af37e8e22b1b986efb5563</res>
                </item>
              </DIDL-Lite>
            </Result>
            <NumberReturned>12</NumberReturned>
            <TotalMatches>12</TotalMatches>
            <UpdateID>1</UpdateID>
          </u:BrowseResponse>
        </s:Body>
      </s:Envelope>
    

    MiniDLNA answers:

    HTTP/1.1 200 OK
    Content-Type: text/xml; charset="utf-8"
    Connection: close
    Content-Length: 8888
    Server: Debian/5.0.4 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>
            <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="64$3$8$1" parentID="64$3$8" restricted="1">
                <dc:title>Lycanthrope</dc:title>
                <upnp:class>object.item.audioItem.musicTrack</upnp:class>
                <dc:creator>+44</dc:creator>
                <dc:date>2006-01-01</dc:date>
                <upnp:album>When Your Heart Stops Beating</upnp:album>
                <upnp:genre>Punk Rock</upnp:genre>
                <upnp:albumArtURI >http://192.168.1.10:8200/AlbumArt/16-1978.jpg</upnp:albumArtURI>
                <res size="7915678" duration="0:03:57.583" bitrate="128000" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01">http://192.168.1.10:8200/MediaItems/1978.mp3</res>
              </item>
              <item id="64$3$8$2" parentID="64$3$8" restricted="1">
                <dc:title>Baby, Come On</dc:title>
                <upnp:class>object.item.audioItem.musicTrack</upnp:class>
                <dc:creator>+44</dc:creator>
                <dc:date>2006-01-01</dc:date>
                <upnp:album>When Your Heart Stops Beating</upnp:album>
                <upnp:genre>Punk Rock</upnp:genre>
                <upnp:albumArtURI >http://192.168.1.10:8200/AlbumArt/16-1984.jpg</upnp:albumArtURI>
                <res size="4856514" duration="0:02:46.138" bitrate="128000" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01">http://192.168.1.10:8200/MediaItems/1984.mp3</res>
              </item>
            </DIDL-Lite>
          </Result>
          <NumberReturned>13</NumberReturned>
          <TotalMatches>13</TotalMatches>
          <UpdateID>0</UpdateID>
        </u:BrowseResponse>
      </s:Body>
    </s:Envelope>
    

    I suppose the line

    <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00d00000000000000000000000000000" resolution="320x320">http://192.168.1.11:45357/MediaServer/Thumbnails/bb073339d0af37e8e22b1b986efb5563</res>
    

    to be responsible for the different behaviour.

     
  • Stephan Blanke
    Stephan Blanke
    2010-10-18

    I would be happy if someone could supply a patch, if the above suggestion is the case. If needed / wished I can upload wireshark dumps.

     
  • dutchfish
    dutchfish
    2010-10-18

    Tested. I can confirm working of this patch on UE32C6700.