Hello @
scott967.
I have encountered a problem that applies to version 6.0.7 and version 6.0.8.
The problem is the query "seasoninfo" does not work and returns an error.
My command is:
Code:
RunScript(script.extendedinfo,info=seasoninfo,tvshow=$INFO[ListItem.TvShowTitle],season=$INFO[ListItem.Season])
Here is the error:
Code:
2024-06-23 00:07:36.068 T:15944 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '>' not supported between instances of 'str' and 'int'
Traceback (most recent call last):
File "C:\TEST-KODI20_Nightly\portable_data\addons\script.extendedinfo\default.py", line 103, in <module>
Main()
File "C:\TEST-KODI20_Nightly\portable_data\addons\script.extendedinfo\default.py", line 69, in __init__
listitems = process.start_info_actions(info, self.params)
File "C:\TEST-KODI20_Nightly\portable_data\addons\script.extendedinfo\resources\lib\process.py", line 399, in start_info_actions
wm.open_season_info(tvshow=params.get("tvshow"),
File "C:\TEST-KODI20_Nightly\portable_data\addons\script.extendedinfo\resources\lib\windowmanager.py", line 135, in open_season_info
season=max(0, season),
TypeError: '>' not supported between instances of 'str' and 'int'
-->End of Python script error report<--
2024-06-23 00:07:36.068 T:15944 debug <general>: CPythonInvoker::onExecutionDone(76, C:\TEST-KODI20_Nightly\portable_data\addons\script.extendedinfo\default.py)
I got the query "seasoninfo" to work.
I changed line 135 in version 6.0.7 or line 137 in version 6.0.8 in the file "windowmanager.py".
Original code (doesn't work):
Code:
season=max(0, season),
replaced with (works):
This change works perfectly with Kodi Omega.
However, there is still one problem with Kodi Nexus, "seasoninfo" no longer has any script errors, but only the last season of the TV show is displayed, no matter which season I call up.
I hope my information was helpful and you can fix this error.