2013-04-04, 03:41
Is it a bug or feature of XBMC to set object.item.audioItem.musicTrack class for playlists? Currently Showtime rejects to load XBMC's playlist via UPnP because it doesn't expect object.item.audioItem.musicTrack.
XBMC's playlist:
Relevant Showtime's debug log:
XBMC's playlist:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="musicvideos">
<name>Test</name>
<match>all</match>
<rule field="genre" operator="contains">
<value>Metal</value>
</rule>
</smartplaylist>
Relevant Showtime's debug log:
Code:
ObjectID (STR) = "special://profile/playlists/video/Test.xsp"
BrowseFlag (STR) = "BrowseMetadata"
Filter (STR) = "*"
StartingIndex (S64) = 0
RequestedCount (S64) = 1
SortCriteria (STR) = ""
<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:Browse xmlns:ns0="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>special://profile/playlists/video/Test.xsp</ObjectID><BrowseFlag>BrowseMetadata</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria/></ns0:Browse></s:Body></s:Envelope>
Result (STR) = "<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="special://profile/playlists/video/Test.xsp" parentID="special://profile/playlists/video/" restricted="1"><dc:title></dc:title><dc:creator>Unknown</dc:creator><upnp:genre>Unknown</upnp:genre><res protocolInfo="http-get:*:video/xsp:*">http://10.0.2.15:1796/%25/179DB274BC631F63E89C8043C8E2F72B/Test.xsp</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>"
NumberReturned (STR) = "1"
TotalMatches (STR) = "1"
UpdateID (STR) = "0"