Release Artist Slideshow addon (with skin and addon integration)
(2018-06-07, 16:08)AnimalFat Wrote: Hi,

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
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.
Reply


Messages In This Thread
New Test Version Available - by pkscout - 2012-03-08, 16:26
[No subject] - by mardup - 2012-03-10, 12:26
[No subject] - by pkscout - 2012-03-11, 01:35
RE: - by mardup - 2012-03-12, 17:50
RE: - by pkscout - 2012-03-13, 03:22
New Beta Version for Testing - by pkscout - 2012-07-13, 17:54
New Beta Version for Testing - by pkscout - 2012-07-14, 22:50
Pull Request for v1.4 Submitted - by pkscout - 2012-07-20, 23:01
New Beta Version for Testing - by pkscout - 2012-08-10, 03:18
New Frodo BETA Support Files - by pkscout - 2012-11-21, 06:20
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - by pkscout - 2018-06-07, 17:48
Add-on Artist Slideshow - by jo26 - 2014-08-08, 22:58
Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5