2015-10-03, 11:29
(2015-10-03, 02:59)marcelveldt Wrote: 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.
1) Right Tried it on another computer and seems both work fine.
2) Seems it works for recently added and played songs but fails with random songs
3) I still have the same issue, here's what I get in loop in log :
PHP Code:
11:18:43 T:6552 NOTICE: Skin Helper Service --> ERROR in getLocalDateTimeFromUtc --> 2015-10-03 07:28:42
11:18:43 T:6552 ERROR: Traceback (most recent call last):
11:18:43 T:6552 ERROR: File "C:\Users\Jerome\AppData\Roaming\Kodi\addons\script.skin.helper.service-master\resources\lib\Utils.py", line 411, in getLocalDateTimeFromUtc
11:18:43 T:6552 ERROR: utc = datetime.strptime(timestring, '%Y-%m-%d %H:%M:%S')
11:18:43 T:6552 ERROR: TypeError: attribute of type 'NoneType' is not callable