Please examine the XML code snippet below. There appears to be non-converted ampersands within the XML tag? I thought this was not allowed, and that SYS always substitiuted &'s for & (within an XML tag).
I have verified that the improperly formatted XML tags crash my server by taking the badload file and manually stripping out the xml tags without encoded &'s.
It seems SYS will not properly convert the image property (see: sys://Schema/System/Documents/Image). This presents a huge problem as I'm writing a module for KODI that so far heavily relies on the Image property to display coverart in the Automation Browser. The Image property is used a lot by the automation browser too.
How I've been setting the image property is like this by just setting image equal to a string. Maybe this is the wrong way to use image?!?
oContentItem.Image = sFrontCoverPath
Any suggestions? Please I hope someone has an easy fix. I'm kind of stumped...
<Object ID="{E988BC29-D46B-489A-BF4D-6C511A0A3860}" Name="The Da Vinci Code / Angels & Demons" Class="sys://Schema/Modules/KODI/Classes/VideoFolder" Title="The Da Vinci Code / Angels & Demons" FolderID="5" CoverArt="\\HTPC\Movies\Angels & Demons\folder.jpg" Image="\\HTPC\Movies\Angels & Demons\folder.jpg" Fanart="\\HTPC\Movies\Angels & Demons\fanart.jpg" Rating="0" >
I have verified that the improperly formatted XML tags crash my server by taking the badload file and manually stripping out the xml tags without encoded &'s.
It seems SYS will not properly convert the image property (see: sys://Schema/System/Documents/Image). This presents a huge problem as I'm writing a module for KODI that so far heavily relies on the Image property to display coverart in the Automation Browser. The Image property is used a lot by the automation browser too.
How I've been setting the image property is like this by just setting image equal to a string. Maybe this is the wrong way to use image?!?
oContentItem.Image = sFrontCoverPath
Any suggestions? Please I hope someone has an easy fix. I'm kind of stumped...
<Object ID="{E988BC29-D46B-489A-BF4D-6C511A0A3860}" Name="The Da Vinci Code / Angels & Demons" Class="sys://Schema/Modules/KODI/Classes/VideoFolder" Title="The Da Vinci Code / Angels & Demons" FolderID="5" CoverArt="\\HTPC\Movies\Angels & Demons\folder.jpg" Image="\\HTPC\Movies\Angels & Demons\folder.jpg" Fanart="\\HTPC\Movies\Angels & Demons\fanart.jpg" Rating="0" >