Folder thumbnail ?

General discussion about PS3 Media Server (no support or requests)

Folder thumbnail ?

Postby Vicne » Tue Jan 20, 2009 12:16 am

Very simple question : Does DLNA support customized icons ("thumbnails") for folders ?
If so, I'd be glad to help implement that feature : that would be very useful for mp3s...

Keep on the good work

Vicne
Last edited by Vicne on Tue Jan 20, 2009 12:25 am, edited 1 time in total.
Vicne
 
Posts: 5
Joined: Tue Jan 20, 2009 12:07 am

Re: Folder thumbnail ?

Postby shagrath » Tue Jan 20, 2009 12:21 am

DLNA supports that I guess, but not the ps3 (and believe me I tried a lot of things ;) )
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Folder thumbnail ?

Postby Vicne » Tue Jan 20, 2009 12:32 am

Thanks for that blazing fast answer.
I guessed so as no server that I know of shows any, but well... Maybe in future PS3 firmware update... Who knows ?

Kind regards,

Vicne
Vicne
 
Posts: 5
Joined: Tue Jan 20, 2009 12:07 am

Re: Folder thumbnail ?

Postby tomeko » Wed Jul 01, 2009 9:21 am

Hi
Sony BRAVIA supports folder thumbnails. Thumbnail must be send as <res> tag, i.e.:
Code: Select all
<DIDL-Lite>
    <container id="0$1$0$0" childCount="14" parentID="0$1$0" restricted="true">
      <dc:title>Folder</dc:title>
      <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN">http://192.168.1.101:5001/get/0$1$0$0/folder.jpg</res>
      <dc:date>2009-05-07T20:07:15</dc:date>
      <upnp:class>object.container.storageFolder</upnp:class>
    </container>
</DIDL-Lite>
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: Folder thumbnail ?

Postby ExSport » Sun Jul 05, 2009 11:27 am

Do somebody know if this works also for PS3? Shagrath? 8-)
Thx
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Folder thumbnail ?

Postby shagrath » Mon Jul 06, 2009 8:35 pm

ExSport wrote:Do somebody know if this works also for PS3? Shagrath? 8-)
Thx


no luck so far
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Folder thumbnail ?

Postby tomeko » Wed Jul 08, 2009 5:08 pm

I was created little patch, to implement folder thumbails. (In BRAVIA shows also others thumbnails, except png country flags).
Attachments
r347_folder_thumbs.zip
Patch to folder thubails.
(873 Bytes) Downloaded 233 times
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: Folder thumbnail ?

Postby tomeko » Fri Jul 10, 2009 11:57 pm

I think, that thumbnails in <tes> tag shouldn’t be limited to folders (as is in r348). DLNA specification restricts <upnp:albumArtURI> to object.item.audioItem or
object.container.album.musicAlbum. For others, thumbails should be exposed with <res> tag. Now BRAVIA can’t show thumbnails for video (for videos, images and folders tv gets thumbnail from <res>).
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Re: Folder thumbnail ?

Postby shagrath » Sat Jul 11, 2009 12:07 am

I added the folder check, because it was crashing my other media renderer browser :p

well more tests to do now
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: Folder thumbnail ?

Postby tomeko » Sun Jul 12, 2009 12:15 am

BRAVIA supports png thumbnail files (with transparency) :) . There is requirements to png files supported by bravia:
file size < =65536 bytes and dlna:profileID=JPEG_TN (without this thumbnails are rejected)
picture size <=255x255 (PMS sends 256x256) (without this thumbails are displayed as single line, unproper)
For discovery jpeg file is required.
So please, resize country flags to 255x255 (or 160x160, and add jpg versions for DLNA copliance) and add jpg file (may be 256x256 and/or (120x120 + 48x48 for DLNA compliance)) to PMS.xml
tomeko
Project Member
 
Posts: 154
Joined: Sat Jun 06, 2009 11:02 am

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 10 guests