2015-10-03, 02:59
(2015-10-02, 12:38)Jayz2K Wrote: One mistake in your properties listing a few posts before is that property for channel name is still ListItem.Property(ChannelName) and not ListItem.Property(Channel) as written but ListItem.Property(ChannelName) works fine.
However, ListItem.Duration for songs still doesn't work. Tried also ListItem.Property(Duration) but no luck.
EDIT : Found a bug with ListItem.Property(StartTime) and ListItem.Property(EndTime). When you launch KODI, PVR widget is correctly populated but when widget is reloaded (for exemple, I can customize the widget style on the fly that makes the widget to reload), ListItem.Property(StartTime) then shows also the date like ListItem.Property(StartDate) does (same for EndTime showing EndDate).
1) It will now return both Channel and ChannelName properties ;-)
2) ListItem.Duration works fine for me. Any errors in the logs ? What widget are you trying to get the info from ?
3) If the data is returned incorrectly it means it was again in error localizing the date. This seems to be some sort of Python issue I ran into. Placed another (possible) fix on Git, could you test again? If it fails again, please check the log for the error message. I have added some debug output for all errors in the script.