Hi
Struggling to get this working on Win x64. Version 1.3.12.
Authentication is hit and miss but even when it authenticates and generates a credentials file Kodi crashes and then on restart it complains of no authentication.
In the logs I see:
2024-10-27 14:08:17.139 T:14088 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'insert'
Traceback (most recent call last):
File "C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py", line 21, in <module>
MainService().run()
File "C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\main_service.py", line 57, in __init__
add_http_video_rule()
File "C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\main_service.py", line 36, in add_http_video_rule
if not video_player_setter.set_http_rule():
File "C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\http_video_player_setter.py", line 23, in set_http_rule
if self.__add_http_rule():
File "C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\http_video_player_setter.py", line 70, in __add_http_rule
rules.insert(0, new_rule)
AttributeError: 'NoneType' object has no attribute 'insert'
-->End of Python script error report<--
2024-10-27 14:08:17.139 T:14088 debug <general>: CPythonInvoker::onExecutionDone(1, C:\Users\drand\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py)
Full log:
https://paste.kodi.tv/udovapanak.kodi
Grateful for thoughts.
Thanks
Andy