(2015-11-18, 19:21)Tadly Wrote: As mention above I'll make it so that it doesn't crash when updating/loading the library. This is a quick fix and at least let's you (and everyone else having the same problem) listen to the rest of the library.
I'll try and come up with a idea that allows me to properly implement user uploaded songs but this will take quite some time
I still get the same error with version 1.2.4:
16:54:18 T:8436 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('artistId',)
Traceback (most recent call last):
File "C:\Users\xyz\AppData\Roaming\Kodi\addons\plugin.audio.linuxwhatelse.gmusic\default.py", line 44, in <module>
mapper.call(url)
File "C:\Users\xyz\AppData\Roaming\Kodi\addons\script.module.linuxwhatelse.mapper\lib\mapper.py", line 150, in call
return function(**args)
File "C:\Users\xyz\AppData\Roaming\Kodi\addons\plugin.audio.linuxwhatelse.gmusic\browse.py", line 378, in my_library_artists
items = build_artist_listitems(gmusic.get_my_library_artists(), True)
File "C:\Users\xyz\AppData\Roaming\Kodi\addons\plugin.audio.linuxwhatelse.gmusic\gmusic.py", line 255, in get_my_library_artists
songs = [x for x in songs if x['artistId'][0] not in seen and not seen_add(x['artistId'][0])]
KeyError: ('artistId',)
-->End of Python script error report<--