Kodi Community Forum
Release Artist Slideshow addon (with skin and addon integration) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release Artist Slideshow addon (with skin and addon integration) (/showthread.php?tid=124880)



RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - cw-kid - 2013-04-02

I am still getting script failed errors sometimes when playback stops or new playback starts.

I will try and post some new debug logs.

I did try and install the latest beta with the SONG TITLE (ft. ARTIST1 / ARTIST2 / ARTIST3) functionality but I then got no artist images appearing at all, I uninstalled and reverted back to the previous beta version.

Thanks


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2013-04-02

(2013-04-02, 15:12)danysahne333 Wrote: Hi,

i get the following error.

PHP Code:
14:53:01 T:2012   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.KeyError'>
                                            
Error Contents: ('artist',)
                                            
Traceback (most recent call last):
                                              
File "C:\Users\standard\AppData\Roaming\XBMC\addons\script.artistslideshow-master\default.py"line 782in <module>
                                                
slideshow Main()
                                              
File "C:\Users\standard\AppData\Roaming\XBMC\addons\script.artistslideshow-master\default.py"line 139in __init__
                                                
if setself.ALLARTISTS ) <> setself._get_current_artist() ):
                                              
File "C:\Users\standard\AppData\Roaming\XBMC\addons\script.artistslideshow-master\default.py"line 493in _get_current_artist
                                                artists 
json.loads(response)['result']['item']['artist']
                                            
KeyError: ('artist',)
                                            -->
End of Python script error report<--
14:53:02 T:5816  NOTICEThread CFileCache startauto deletefalse 

I get it on Song "DJ Project feat. Giulia - Nu" ID3 Tags are imho ok. Is there any reason or solution for this?

The best thing to do is revert back to the production version (which I believe is 1.5.0). The 1.5.1 beta still has lots of issues, and it'll be a couple of weeks before I get around to looking at them in more detail.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - cw-kid - 2013-04-02

Hi

It just crashed again whilst I had debug logging enabled

http://xbmclogs.com/show.php?id=9243

Thanks

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xf3' in position 7: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.artistslideshow-master/default.py", line 782, in <module>
                                                slideshow = Main()
                                              File "/home/xbmc/.xbmc/addons/script.artistslideshow-master/default.py", line 133, in __init__
                                                self._use_correct_artwork()
                                              File "/home/xbmc/.xbmc/addons/script.artistslideshow-master/default.py", line 170, in _use_correct_artwork
                                                log('current artist is %s' % artist.decode("utf-8"))
                                              File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
                                                return codecs.utf_8_decode(input, errors, True)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 7: ordinal not in range(128)
                                            -->End of Python script error report<--
21:46:07 T:139988924069760   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:46:07 T:139987452819200    INFO: Python script stopped
21:46:07 T:139987452819200   DEBUG: Thread XBPyThread 139987452819200 terminating
21:46:07 T:139988924069760   DEBUG: waiting for python thread 14 (/home/xbmc/.xbmc/addons/script.artistslideshow-master/default.py) to stop
21:46:07 T:139988924069760   DEBUG: python thread 14 (/home/xbmc/.xbmc/addons/script.artistslideshow-master/default.py) destructed
21:46:09 T:139987865556736   DEBUG: CRecentlyAddedJob::UpdateVideos() - Running RecentlyAdded home screen update
21:46:09 T:139987865556736   DEBUG: RunQuery took 163 ms for 10 items query: select * from movieview  ORDER BY dateAdded desc, idMovie desc LIMIT 10
21:46:09 T:139987865556736   DEBUG: RunQuery took 141 ms for 10 items query: select * from episodeview  ORDER BY dateAdded desc, idEpisode desc LIMIT 10
21:46:09 T:139987865556736   DEBUG: RunQuery took 28 ms for 10 items query: select * from musicvideoview  ORDER BY dateAdded desc, idMVideo desc LIMIT 10
21:46:09 T:139987865556736   DEBUG: CRecentlyAddedJob::UpdateTotal() - Running RecentlyAdded home screen update
21:46:12 T:139988924069760   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
21:46:19 T:139987479688960    INFO: CFileCache::Process - Hit eof.
21:46:37 T:139988924069760   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-51-x86_64-linux.so)
21:46:37 T:139988924069760   DEBUG: Unloading: avutil-51-x86_64-linux.so
21:46:37 T:139988924069760   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swscale-2-x86_64-linux.so)
21:46:37 T:139988924069760   DEBUG: Unloading: swscale-2-x86_64-linux.so
21:46:37 T:139988784117504   DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0",  "id": 1, "method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "originaltitle", "playcount", "year", "genre", "studio", "country", "tagline", "plot", "runtime", "file", "plotoutline", "lastplayed", "trailer", "rating", "resume", "art", "streamdetails", "mpaa", "director"], "limits": {"end": 20}, "sort": {"method": "random" }, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}
21:46:37 T:139988784117504   DEBUG: JSONRPC: Calling videolibrary.getmovies
21:46:37 T:139988784117504   DEBUG: RunQuery took 141 ms for 1933 items query: select * from movieview  WHERE ((movieview.playCount IS NULL OR movieview.playCount < 1))
21:46:38 T:139988924069760   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86_64-linux.so)
21:46:38 T:139988924069760   DEBUG: Unloading: ImageLib-x86_64-linux.so
21:46:38 T:139987865556736   DEBUG: Caching image '/home/xbmc/.xbmc/userdata/addon_data/script.artworkorganizer/ArtistFanart/The Abyssinians.jpg' to '8/8b128ff4.jpg':
21:46:38 T:139987865556736   DEBUG: cached image 'special://masterprofile/Thumbnails/8/8b128ff4.jpg' size 1280x720



RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2013-04-03

(2013-04-02, 22:51)cw-kid Wrote: Hi

It just crashed again whilst I had debug logging enabled

http://xbmclogs.com/show.php?id=9243

I can't begin to tell you how much I hate UTF encoding/decoding. The error you got will only show up if you are playing an artist with a UTF8 character in their name AND if you have debug logging enabled. I swear I thought I caught all the UTF8 encoding/decoding issues, but I'll add this to the list to fix.


Re: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - giftie - 2013-04-03

pkscout - check out the wiki - http://wiki.xbmc.org/index.php?title=Add-on_unicode_paths


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - cw-kid - 2013-04-03

(2013-04-03, 04:08)pkscuot Wrote:
(2013-04-02, 22:51)cw-kid Wrote: Hi

It just crashed again whilst I had debug logging enabled

http://xbmclogs.com/show.php?id=9243

I can't begin to tell you how much I hate UTF encoding/decoding. The error you got will only show up if you are playing an artist with a UTF8 character in their name AND if you have debug logging enabled. I swear I thought I caught all the UTF8 encoding/decoding issues, but I'll add this to the list to fix.

Thanks Pkscuot

The artist I was playing when it crashed was Sigur Rós


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - bossanova808 - 2013-04-04

@pkscout - there's a Python bug in all the unicode shite - I use a different uncodeUni - giftie helped me with this, but since using it it's proved very robust...

Code:
##############################################################################
# properly unquote text coming back from e.g. LMS

def unquoteUni(text):

    try:
        import urllib.parse
        return urllib.parse.unquote(text, encoding=self.charset)
    except ImportError:
        #import urllib
        #return urllib.unquote(text)
        _hexdig = '0123456789ABCDEFabcdef'
        _hextochr = dict((a+b, chr(int(a+b,16))) for a in _hexdig for b in _hexdig)
        if isinstance(text, unicode):
            text = text.encode('utf-8')
        res = text.split('%')
        for i in xrange(1, len(res)):
            item = res[i]
            try:
                res[i] = _hextochr[item[:2]] + item[2:]
            except KeyError:
                res[i] = '%' + item
            except UnicodeDecodeError:
                res[i] = unichr(int(item[:2], 16)) + item[2:]
        return "".join(res)

...you probably are aware/have similar but just in case....


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - mikebzh44 - 2013-04-04

Hi pkscuot.

I'm translating your addon into French but I don't know what this label means :

Use override slideshow

What is the context of this setting ?

Thanks.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - 1358 - 2013-04-04

gnah . sorry


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - malacai - 2013-04-05

Hi and thx for a real nice addon
My problem is that every time i start xbmc (12.1, Aeon Nox) i need to go to Artist Slideshow in the Add-on's and hit 'Launch' to get the addon work.
Idk if its just me, but how do i get it to 'Launch' on boot?

/mal

i forgot. i use the newest from repo, 1.5.0 i think it is


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - flabb17 - 2013-04-07

Hello

the Frodo dowloading link on the wiki page for confluence is not working !!

( https://drive.google.com/uc?export=&confirm=no_antivirus&id=0B4AHLdLhR0TCanVzZzVrc1RLRk0 )


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2013-04-08

(2013-04-04, 17:36)mikebzh44 Wrote: Hi pkscuot.

I'm translating your addon into French but I don't know what this label means :

Use override slideshow

What is the context of this setting ?

Thanks.

That radio button (if selected) enables the following feature:

Override slideshow folder: (default none)
path to a directory of images that should be used intead of artist artwork. With this set no artwork will ever be downloaded.

So the text of the button is saying that if it is selected you will be using the override folder.

(2013-04-04, 06:31)bossanova808 Wrote: @pkscout - there's a Python bug in all the unicode shite - I use a different uncodeUni - giftie helped me with this, but since using it it's proved very robust...

I had not heard about that bug. I'll have a look at the code you shared. I'm assuming that takes something that has extended characters and provides you a standard ASCII string, right?

(2013-04-07, 09:30)flabb17 Wrote: Hello

the Frodo dowloading link on the wiki page for confluence is not working !!

( https://drive.google.com/uc?export=&confirm=no_antivirus&id=0B4AHLdLhR0TCanVzZzVrc1RLRk0 )

Hmmm. The link worked for me using both Safari and Chrome on OSX. What message or screen are you getting when you click the link?


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - bossanova808 - 2013-04-08

Yep that's the idea. I can't even remember the details, they'll be in the forum somewhere, but basically giftie dug up the bug and I have been throwing unicode at it for a while without issues. Hate that stuff, it's the sort of fiddly crap that really drags down the fun of it all!!


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - SouthMark - 2013-04-14

Hi All

I have an issue where when using artist slideshow. Randomly it will display thumbnail pictures instead of the fanart size pictures.

Can anyone tell me how to fix this so that it only displays fanart pictures only? I hope this makes sense!

Thanks

Mark


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2013-04-14

By default AS downloads any artist image from th source sites, no matter the size. There are some options to specify minimum size and whether you want only HD aspect ratio. Check out the wiki (link in sig) for more information.