2015-11-05, 08:42 AM
I recently modded the Confluence skin for Kodi to show the Original Air Date for programs in the info pop-up by adding the following code to C:\Program Files (x86)\Kodi\addons\skin.confluence\720p\DialogPVRGuideInfo.xml, within the only <content> block in that XML file:
<item>
<label>$LOCALIZE[20416]:</label>
<label2>$INFO[ListItem.Premiered]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.Premiered)</visible>
</item>
The code did work, but original air date for every single program is showing up as Wed, Dec 31, 1969, regardless of whether or not the program has a valid original air date. I know all the programs I tested have valid original air dates that were correctly parsed from the XMLTV data because the correct date shows up in the XML files that accompany recordings made by NextPVR, as well as in NextPVR's own front-end GUI when I modify the NextPVR's skin's Popups/EventDetails.xml file to include the @originalAirDate text.
Is this an error in the plugin interface for NextPVR, or an error in the NextPVR plugin for Kodi, or did I just write the Kodi skin modification code incorrectly?
<item>
<label>$LOCALIZE[20416]:</label>
<label2>$INFO[ListItem.Premiered]</label2>
<onclick>noop</onclick>
<visible>!IsEmpty(ListItem.Premiered)</visible>
</item>
The code did work, but original air date for every single program is showing up as Wed, Dec 31, 1969, regardless of whether or not the program has a valid original air date. I know all the programs I tested have valid original air dates that were correctly parsed from the XMLTV data because the correct date shows up in the XML files that accompany recordings made by NextPVR, as well as in NextPVR's own front-end GUI when I modify the NextPVR's skin's Popups/EventDetails.xml file to include the @originalAirDate text.
Is this an error in the plugin interface for NextPVR, or an error in the NextPVR plugin for Kodi, or did I just write the Kodi skin modification code incorrectly?