Release Artist Slideshow addon (with skin and addon integration)
Wow, that was quick work !!

Sadly, on testing initially, I hit a snag ....
python:
2019-11-11 10:18:21.005 T:1684   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'AttributeError'>
                                            Error Contents: 'Main' object has no attribute 'CACHEDIR'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 1157, in <module>
                                                slideshow = Main()
                                              File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 274, in __init__
                                                self._use_correct_artwork()
                                              File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 1079, in _use_correct_artwork
                                                self._set_artwork_from_dir( self.FALLBACKPATH, self._get_file_list( self.FALLBACKPATH ) )
                                              File "/home/xbmc/build/kodi-19/kodi-build/portable_data/addons/script.artistslideshow/default.py", line 914, in _set_artwork_from_dir
                                                if (dir == self.CACHEDIR) and (self.INCLUDEFANARTJPG or self.INCLUDEFOLDERJPG):
                                            AttributeError: 'Main' object has no attribute 'CACHEDIR'
                                            -->End of Python script error report<--

I fixed this by adding line 2 below
python:
            self.SLIDESHOW.setDaemon(True)
            self.CACHEDIR = ''
            self.SLIDESHOW.start()

Not sure if that was the correct way to do it, but it now runs and shows the correct artist art.

Dunno if it's relevant or not but I am using the artist info directory to store the images in.  Oh, also when I used the addon to move them, I got a progress dialog but it never seemed to update the progress bar.  It did move all the art though and notify me when it was done.
Learning Linux the hard way !!
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: Artist Slideshow addon (with skin and addon integration) - by black_eagle - 2019-11-11, 12:30
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