Menu

#88 Faulty "play" thumbnail image

Release 1.1.4
closed
nobody
feature (12)
2014-02-15
2013-12-18
No

I use minidlna with thumbnail image (same filename but .jpg instead of .avi).
I've seen you work on showing them within the browser.
But the problem is when I select an item it does not play the video but the thumbnail.

It has to be a YAACC issue because BubbleUPNP do it right.

Discussion

  • Eyeless

    Eyeless - 2013-12-18

    just to get this right:

    You have a folder on your server with the files movie.avi and movie.jpg . When you browse the folder you expect to just see an item 'movie' with movie.jpg as icon and when selecting it it should start movie.avi?

    If so, we do not support this yet, but I think it should be easy to add next to our other cover ticket. But its IMHO rather a feature to gain than a bug to solve ;)

    Thanks for your input!

     

    Last edit: Eyeless 2013-12-18
  • Eyeless

    Eyeless - 2013-12-18

    Ok, I gave it a try, but I am not quite sure what you exactly did. Here is my setup:

    MiniDLNA running on my desktop. It has a library folder containing a video file 'movie.avi' and a image file called 'movie.jpg'. I configured this library folder as mixed source. When I accessed it with YAACC and just browsed the folder I got both files shown, meaning a video and a image file both called 'movie'. When I open the movie section of MiniDLNA I just see the video file.

    Where do you expect to see the image as icon while browsing? In the video folder or in the mixed folder?
    How did you configure it on your server side? Are both files in the same library(a mixed one)?

    Looking forward to your answer!

    Eyeless

     
  • - 2013-12-18

    The thumbnail is a minidlna internal feature: https://sourceforge.net/p/minidlna/git/ci/master/tree/upnpsoap.c#l863

    I just select video type. I don't know what this means UPNP internally.

     
  • - 2013-12-18

    I've extracted a telegram with wireshark.
    There you can see are 2 protocolInfo attributes.

    <?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;item id="2$15$3$3" parentID="2$15$3" restricted="1" refID="64$3$3"&gt;&lt;dc:title&gt;Akte Ex.S2E04.Auf Entzug&lt;/dc:title&gt;&lt;upnp:class&gt;object.item.videoItem&lt;/upnp:class&gt;&lt;dc:date&gt;2013-11-27T04:28:07&lt;/dc:date&gt;&lt;res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN"&gt;http://192.168.1.254:8200/AlbumArt/4-68.jpg&lt;/res&gt;&lt;res size="730109722" duration="0:48:34.919" bitrate="250473" sampleFrequency="24000" nrAudioChannels="2" resolution="960x544" protocolInfo="http-get:*:video/mp4:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000"&gt;http://192.168.1.254:8200/MediaItems/68.mp4&lt;/res&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;
    </Result>
    <NumberReturned>1</NumberReturned>
    ...
    

    Don't know what's the interesting part but maybe the conjunction of:

    <upnp:class>object.item.videoItem</upnp:class>
    

    and

    protocolInfo="http-get:*:video/
    
     

    Last edit: 2013-12-18
  • Eyeless

    Eyeless - 2013-12-19
    • labels: --> feature
    • Milestone: Release 1.1.3 --> Release 1.1.4
     
  • Eyeless

    Eyeless - 2013-12-19

    Thank you very much! It looks like we might get all needed information directly from the object. I will invest some more time in setting this test environment up. Unfortunately I will be on Christmas holidays from today on, so coding here will be a bit less.

    Therefore I moved the ticket to the next version and will have a look at it in January.

     
  • Eyeless

    Eyeless - 2014-02-15
    • status: open --> accepted
    • Milestone: Release 1.1.4 --> Release 1.1.5
     
  • Eyeless

    Eyeless - 2014-02-15

    First ticket in new release. ;)

     
  • Eyeless

    Eyeless - 2014-02-15

    Ok, AlbumArt is now shown as thumbnail if available.

    Could you please give this release a try? The nightly build tomorrow will contain it,a s our release 1.1.4 coming up the next days.

     

    Last edit: Eyeless 2014-02-15
    • - 2014-03-18

      Hi, i've answered your mail...

      It's not working at all. Same problem as before...

       
  • Eyeless

    Eyeless - 2014-02-15
    • status: accepted --> closed
     
  • Eyeless

    Eyeless - 2014-02-15
    • Milestone: Release 1.1.5 --> Release 1.1.4
     

Log in to post a comment.