more krypton ratings

This commit is contained in:
im85288 2016-12-31 17:14:28 +00:00
parent 835e95d3fd
commit e72a3070e3
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.emby" <addon id="plugin.video.emby"
name="Emby" name="Emby"
version="2.3.29" version="2.3.30"
provider-name="Emby.media"> provider-name="Emby.media">
<requires> <requires>
<import addon="xbmc.python" version="2.19.0"/> <import addon="xbmc.python" version="2.19.0"/>

View file

@ -284,6 +284,7 @@ class TVShows(Items):
votecount = item.get('VoteCount') votecount = item.get('VoteCount')
premieredate = API.get_premiere_date() premieredate = API.get_premiere_date()
tvdb = API.get_provider('Tvdb') tvdb = API.get_provider('Tvdb')
imdb = API.get_provider('Imdb')
sorttitle = item['SortName'] sorttitle = item['SortName']
mpaa = API.get_mpaa() mpaa = API.get_mpaa()
genre = " / ".join(genres) genre = " / ".join(genres)
@ -345,7 +346,7 @@ class TVShows(Items):
if self.kodi_version > 16: if self.kodi_version > 16:
uniqueid = self.kodi_db.create_entry_uniqueid() uniqueid = self.kodi_db.create_entry_uniqueid()
self.kodi_db.add_uniqueid(uniqueid, showid, "tvshow", tvdb, "tvdb") self.kodi_db.add_uniqueid(uniqueid, showid, "tvshow", imdb, "imdb")
##### UPDATE THE TVSHOW ##### ##### UPDATE THE TVSHOW #####
if update_item: if update_item: