2012-11-28, 15:45
@mikebzh44: Polite bump to ask if you've had any chance to update the script for Frodo. Due to recent changes regarding the duration field being changed to an integer instead of a string, the script is now throwing an error in Movies and TV shows as well now.
Code:
00:40:42 T:7796 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
00:40:42 T:7796 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "value" for method "setProperty" must be unicode or str
Traceback (most recent call last):
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 643, in <module>
_getMovies()
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 191, in _getMovies
_setProperty( "%s.%d.RunningTime" % ( PROPERTIE, _count ), runtime)
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 600, in _setProperty
WINDOW.setProperty ( _property, _value )
TypeError: argument "value" for method "setProperty" must be unicode or str
-->End of Python script error report<--
00:40:42 T:7940 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
00:40:42 T:7940 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "value" for method "setProperty" must be unicode or str
Traceback (most recent call last):
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 648, in <module>
_getEpisodesFromPlaylist()
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 288, in _getEpisodesFromPlaylist
_setEpisodeProperties ( _episode, _count )
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 554, in _setEpisodeProperties
_setProperty( "%s.%d.RunningTime" % ( PROPERTIE, _count ), runtime)
File "C:\Users\Calvin\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 600, in _setProperty
WINDOW.setProperty ( _property, _value )
TypeError: argument "value" for method "setProperty" must be unicode or str
-->End of Python script error report<--