For example, when the DVR is recording, something like this will show up in the XML file:
Code: Select all
<title>The Bourne Ultimatum</title>
When the DVR is not recording, the XML file will be much smaller and have very little data in it. There won't be a <title> element for example.
So basically, when the XML file has <title>something</title> in it, I want to display an image and when it's not, I don't want to display that image.
I'm familiar with the WebParser plugin (have used it to parse another XML file to display the upcoming recording schedule, for example) but I'm not quite clear on how I would go about implement this kind of off/on status in the skin.
Any pointers?
(I'll need something similar showing a different system status image based on the values of 0, 1, 2, and 3, where 0 means don't show an image, 1=blue, 2=yellow, and 3=red image).
Thanks in advance!