BRAVIAが対応しているプロパティは??
miniDLNAのデバッグログにBRAVIAからのリクエストが出ていた。
リクエスト:
POST /ctl/ContentDir HTTP/1.1 X-AV-Physical-Unit-Info: pa="BRAVIA MBT-WZ1"; X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA MBT-WZ1"; mv="1.7"; Host: 192.168.0.1:8200 User-Agent: UPnP/1.0 DLNADOC/1.50 Content-Length: 637 Content-Type: text/xml; charset="utf-8" SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse" <?xml version="1.0"?><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>0</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>dc:title,av:mediaClass,dc:date,@childCount,res,upnp:class,res@resolution,upnp:album,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID,dc:creator,res@size,res@duration,res@bitrate,res@protocolInfo</Filter><StartingIndex>0</StartingIndex><RequestedCount>10</RequestedCount><SortCriteria>+dc:title</SortCriteria></u:Browse></s:Body></s:Envelope>
レスポンス:
HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Connection: close Content-Length: 1358 Server: FreeBSD/8.0-BETA3 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/"> <container id="64" parentID="0" restricted="1" childCount="231"><dc:title>Browse Folders</dc:title><upnp:class>object.container.storageFolder</upnp:class></container><container id="1" parentID="0" restricted="1" childCount="6"><dc:title>Music</dc:title><upnp:class>object.container.storageFolder</upnp:class></container><container id="3" parentID="0" restricted="1" childCount="4"><dc:title>Pictures</dc:title><upnp:class>object.container.storageFolder</upnp:class></container><container id="2" parentID="0" restricted="1" childCount="2"><dc:title>Video</dc:title><upnp:class>object.container.storageFolder</upnp:class></container></DIDL-Lite></Result> <NumberReturned>4</NumberReturned> <TotalMatches>4</TotalMatches> <UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
リクエストの
dc:title av:mediaClass dc:date,@childCount res upnp:class res@resolution upnp:album upnp:albumArtURI upnp:albumArtURI@dlna:profileID dc:creator res@size res@duration res@bitrate
というわけで、dc:titleに出ているタイトルをupnp:albumとdc:creatorにも出すようにしてみたが、だめだー、BRAVIA上の表示が何も変わらん。Videoじゃだめなのかしら。