xbox360 thumbnails

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (e.g. Xbox 360, TVs &c.)

xbox360 thumbnails

Postby zkrige » Sun Apr 25, 2010 3:56 pm

i'm not seeing thumbnails on the xbox360 video library.

running ubuntu karmic.

ffmpeg is installed in /usr/bin/ffmpeg

pms.conf:
thumbnails = true
mencoder_ass = true
folders = \/media\/movies
hide_media_library_folder = false
usecache = true
use_mplayer_for_video_thumbs = true
audio_thumbnails_method = 1
minimized = true


any ideas?
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Re: xbox360 thumbnails

Postby shagrath » Sun Apr 25, 2010 8:42 pm

it's not yet supported
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: xbox360 thumbnails

Postby zkrige » Mon Apr 26, 2010 10:37 am

i'm a reasonably competent developer. is there any way i can get involved to help with the dev?
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Re: xbox360 thumbnails

Postby shagrath » Wed Apr 28, 2010 12:40 pm

it's mostly a DLNA thing to code. If you find how to send jpeg thumbnail images to the xbox so it display them as cover, you're good :p
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: xbox360 thumbnails

Postby zkrige » Wed Apr 28, 2010 1:10 pm

firstly, is it even possible?

secondly, point me in the right direction (which source files to start looking in) and i'll get started
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Re: xbox360 thumbnails

Postby shagrath » Wed Apr 28, 2010 6:16 pm

zkrige wrote:firstly, is it even possible?

secondly, point me in the right direction (which source files to start looking in) and i'll get started


I guess so because Windows Media Server succeed to it... HTTP thumbnails response are managed in the DLNAResource.java class but like I said, you need to determine first what's the content of the HTTP response you need to send first.
shagrath
Project Lead
 
Posts: 2667
Joined: Wed Jan 14, 2009 1:39 pm

Re: xbox360 thumbnails

Postby hursto75 » Wed Apr 28, 2010 7:25 pm

I would love to see this feature, I am available for testing if you get anything up and running.

Thanks,
hursto75
 
Posts: 22
Joined: Wed Apr 28, 2010 7:13 pm
Location: Michigan

Re: xbox360 thumbnails

Postby zkrige » Wed Apr 28, 2010 7:27 pm

k - i've checked out the source code and loaded it up in netbeans.

from what i can tell, the thumbnail stuff is in DLNAResource.java, round about line 814 - 825

my next step is to get my WMP to stream movies. I'm gonna fireup a TCP port monitor like wireshark and see what gets sent to my xbox.
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Re: xbox360 thumbnails

Postby zkrige » Wed Apr 28, 2010 7:56 pm

ok we getting somewhere

xbox requests the albumart something like this

GET /WMPNSSv4/126647484/0_ezc1NTFENkMyLUNGMjEtNEI0MC1COTI1LUFCRkY4NzA5Rjc4NH0uMC5EMkUyNjQ0NQ.avi?albumArt=true HTTP/1.1
User-Agent: Xbox Live Client/2.0.9199.0
Connection: Keep-alive
Host:192.168.1.2
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Re: xbox360 thumbnails

Postby zkrige » Wed Apr 28, 2010 8:29 pm

heres the request from the xbox, and the reply from my windows media player media server

POST /upnphost/udhisapi.dll?control=uuid:0acaf354-d3f6-47f3-a3d2-ba88353f8979+urn:upnp-org:serviceId:ContentDirectory HTTP/1.1

User-Agent: Xbox/2.0.9199.0 UPnP/1.0 Xbox/2.0.9199.0

Connection: Keep-alive

Host:192.168.1.2

SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"

CONTENT-TYPE: text/xml; charset="utf-8"

Content-Length: 585



<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">

<ContainerID>5DD5E6E6</ContainerID>

<BrowseFlag>BrowseDirectChildren</BrowseFlag>

<Filter>dc:title,res,res@protection,res@duration,res@bitrate,upnp:genre,upnp:actor,res@microsoft:codec</Filter>

<StartingIndex>0</StartingIndex>

<RequestedCount>1000</RequestedCount>

<SortCriteria>+upnp:class,+dc:title</SortCriteria>

</u:Browse>

</s:Body>

</s:Envelope>

HTTP/1.1 200 OK

Content-Length: 3335

Content-Type: text/xml; charset="utf-8"

Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0

Date: Wed, 28 Apr 2010 19:18:38 GMT
<?xml version="1.0" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <SOAP-ENV:Body>
- <m:BrowseResponse xmlns:m="urn:schemas-upnp-org:service:ContentDirectory:1">
<Result xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"><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="{3440E273-90D7-459F-8918-F3F6E19E380B}.0.5DD5E6E6" restricted="1" parentID="5DD5E6E6"><dc:title>Airplane II</dc:title><res duration="1:23:40.000" bitrate="270565" protocolInfo="http-get:*:video/x-ms-wmv:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000" microsoft:codec="{32564D57-0000-0010-8000-00AA00389B71}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">http://192.168.1.2:10243/WMPNSSv4/126647484/0_ezM0NDBFMjczLTkwRDctNDU5Ri04OTE4LUYzRjZFMTlFMzgwQn0uMC41REQ1RTZFNg.wmv</res><res duration="1:23:40.000" bitrate="525131" protocolInfo="http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" microsoft:codec="{E06D8026-DB46-11CF-B4D1-00805F6CBBEA}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">http://192.168.1.2:10243/WMPNSSv4/126647484/ezM0NDBFMjczLTkwRDctNDU5Ri04OTE4LUYzRjZFMTlFMzgwQn0uMC41REQ1RTZFNg.mpg?formatID=33</res><res duration="1:23:40.000" bitrate="525131" protocolInfo="http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" microsoft:codec="{E06D8026-DB46-11CF-B4D1-00805F6CBBEA}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">http://192.168.1.2:10243/WMPNSSv4/126647484/ezM0NDBFMjczLTkwRDctNDU5Ri04OTE4LUYzRjZFMTlFMzgwQn0uMC41REQ1RTZFNg.mpg?formatID=39</res><res duration="1:23:40.000" bitrate="90000" protocolInfo="http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" microsoft:codec="{33564D57-0000-0010-8000-00AA00389B71}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">http://192.168.1.2:10243/WMPNSSv4/126647484/ezM0NDBFMjczLTkwRDctNDU5Ri04OTE4LUYzRjZFMTlFMzgwQn0uMC41REQ1RTZFNg.wmv?formatID=76</res><res duration="1:23:40.000" bitrate="37500" protocolInfo="http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" microsoft:codec="{33564D57-0000-0010-8000-00AA00389B71}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">http://192.168.1.2:10243/WMPNSSv4/126647484/ezM0NDBFMjczLTkwRDctNDU5Ri04OTE4LUYzRjZFMTlFMzgwQn0uMC41REQ1RTZFNg.wmv?formatID=80</res><upnp:class>object.item.videoItem</upnp:class><upnp:genre>[Unknown Genre]</upnp:genre><upnp:actor>[Unknown Author]</upnp:actor></item> </DIDL-Lite></Result>
<NumberReturned xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">1</NumberReturned>
<TotalMatches xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">1</TotalMatches>
<UpdateID xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</UpdateID>
</m:BrowseResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
zkrige
 
Posts: 9
Joined: Sun Apr 25, 2010 7:31 am

Next

Return to Alternative Media Renderers

Who is online

Users browsing this forum: Google [Bot] and 4 guests