2013-03-27, 17:48
albumidid -> albumid
I think
I think
10:35:14 T:5480 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: ('duration',)
Traceback (most recent call last):
File "C:\Users\Marcos\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 701, in <module>
_getMovies()
File "C:\Users\Marcos\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 162, in _getMovies
if streaminfo['duration'] != 0:
KeyError: ('duration',)
-->End of Python script error report<--
Quote:To all skinners :
Property Art(poster) for movies is deprecated, use Art(thumb) instead. Will be remove soon
(2013-03-29, 11:06)mikebzh44 Wrote: To all skinners :
Property Art(poster) for movies is deprecated, use Art(thumb) instead. Will be remove soon
(2013-03-29, 11:06)mikebzh44 Wrote: To all skinners :
Property Art(poster) for movies is deprecated, use Art(thumb) instead. Will be remove soon
(2013-03-29, 12:17)mikebzh44 Wrote: I think so
So before putting this script upside down :
Art(poster) was returned for movies
Art(thumb) was returned for albums
But Live CD Cases background was broken in Aeon Nox for custom menu based on albums smart playlists because XML use Art(poster) even for music playlist :
http://forum.xbmc.org/showthread.php?tid...pid1378513
So what are the right properties this script should return to make everybody happy ??
Art(poster) for movies and for albums ?
Remove Art(thumb) for albums ?
(2013-01-10, 17:51)mikebzh44 Wrote: Fixed for TVShows playlist.
I'm at my office and I can't use github to push my fix so you just have to edit randomandlastitems.py file and go to line 238 :
before
Code:# Add TV Show fanart and thumbnail for each episode
#_episode["tvshowid"]=_file['id']
art = _episode['art']
_episode["tvshowfanart"]=art.get('tvshow.fanart')
_episode["tvshowthumb"]=art.get('thumb')
after
Code:# Add TV Show fanart and thumbnail for each episode
#_episode["tvshowid"]=_file['id']
art = _episode['art']
# Add episode ID when playlist type is TVShow
_episode["id"]=_episode['episodeid']
_episode["tvshowfanart"]=art.get('tvshow.fanart')
_episode["tvshowthumb"]=art.get('thumb')
@Martijn : could you push this fix on github and on repo ? Thanks.