2020-05-16, 02:32
hi I am trying to cast to Kodi via XML from an app of mine ut I can't get the metadata working right. here is an example of the xml I am sending on SetCurrentURI :
Is there she specific xml tags I need to use in order to be able to cast the metadata with the file to Kodi ?
I am running Kodi 18.2
xml:
<u:SetAVTransportURI xmlns:u="urnchemas-upnp-orgervice:AVTransport:1">
<InstanceID>0</InstanceID>
<CurrentURI>http://192.168.1.27:8089/file/?fileID=c8023199-8c0a-11ea-aacc-a3cb8d1043c4.mp3</CurrentURI>
<CurrentURIMetaData>
<DIDL-Lite xmlns="urnchemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnsec="http://www.sec.co.kr/" xmlns:upnp="urnchemas-upnp-org:metadata-1-0/upnp/">
<item id="f-0" parentID="0" restricted="0">
<dc:title>17</dc:title>
<dc:creator>Avril Lavigne</dc:creator>
<upnp:class>object.item.audioItem</upnp:class>
<dc:description>A desription</dc:description>
<upnp:albumArtURI xmlns:dlna="urnchemas-dlna-org:metadata-1-0/" dlna:profileID="JPEG_TN">http://192.168.1.27:8089/file/?fileID=artc8023199-8c0a-11ea-aacc-a3cb8d1043c4.jpg</upnp:albumArtURI>
<res protocolInfo="*:*:audio:*" sec:URIType="public">http://192.168.1.27:8089/file/?fileID=c8023199-8c0a-11ea-aacc-a3cb8d1043c4.mp3</res>
</item>
</DIDL-Lite>
</CurrentURIMetaData>
</u:SetAVTransportURI>
Is there she specific xml tags I need to use in order to be able to cast the metadata with the file to Kodi ?
I am running Kodi 18.2