2018-06-07, 17:48
(2018-06-07, 16:08)AnimalFat Wrote: Hi,Could you post a link to the entire debug log? There isn't enough there for me to know where to look. Also, could you check to make sure you have the current version of AS from the main Kodi repo (it should be 2.1.2)? I recently updated Kodi to remove all the artist hashes and use real names instead. So the only place I hash anything now is when I merge images from multiple artists, and that only happens to the image path, not the artist name. So the little log snippet you provided isn't making sense to me unless you're on an older version.
Thanks for creating and maintaining this add-on, I've been using it for several years now and just recently run into this problem.
When running the add-on in a clean install of Kodi 17.6, it fails during the creation of the hashes. Going back through this topic, I added a line to default.py to show which artist it failed on.
Although I've switched on the 'replace illegal characters' option, it seems the script doesn't like the / character in an artist name whilst parsing and crashes when it reaches Gary Clail / On-U Sound System - all my music is tagged by MusicBrainz.
The log file shows this...
Code:
14:47:07.877 T:7160 DEBUG: [Artist Slideshow] Gary Brooker has a hash of 459cae34
14:47:07.877 T:7160 DEBUG: [Artist Slideshow] getting hash for artist Gary Byrd & The G.B. Experience
14:47:07.877 T:7160 DEBUG: [Artist Slideshow] Gary Byrd & The G.B. Experience has a hash of e32acc3a
14:47:07.877 T:7160 DEBUG: [Artist Slideshow] getting hash for artist Gary Chang
14:47:07.877 T:7160 DEBUG: [Artist Slideshow] Gary Chang has a hash of a7e724b7
14:47:07.878 T:7160 DEBUG: [Artist Slideshow] getting hash for artist [u'Gary Clail', u'On-U Sound System']
14:47:07.878 T:7160 ERROR: EXCEPTION: argument "path" for method "XBMCAddon::xbmc::getCacheThumbName" must be unicode or str
14:47:07.893 T:7160 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 "path" for method "XBMCAddon::xbmc::getCacheThumbName" must be unicode or str
This issue doesn't seem to be on one platform, as it crashes on a Raspberry Pi 3 (LibreELEC), Odroid C2 (LibreELEC), Vero 4K (OSMC) and under Windows 7.
Regards,
AF