2016-06-23, 11:23
After editing addon.xml to bump release version :
I have run successfully this addon and update Top250 movies and ratings.
And as this addon use JSON query to update Top250 or rating :
resources\lib\movies.py :
resources\lib\top250.py
It should make it Krypton compliant.
Code:
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="xbmc.gui" version="5.12.0"/>
<import addon="xbmc.addon" version="16.9.701"/>
</requires>
I have run successfully this addon and update Top250 movies and ratings.
And as this addon use JSON query to update Top250 or rating :
resources\lib\movies.py :
Code:
util.executeJSON('VideoLibrary.SetMovieDetails', {'movieid': movie['movieid'], 'rating': float(imdb.rating()), 'votes': imdb.votes()})
resources\lib\top250.py
Code:
util.executeJSON('VideoLibrary.SetMovieDetails', {'movieid': movie['movieid'], 'top250': position})
It should make it Krypton compliant.