Fix library tags on update

This commit is contained in:
angelblue05 2018-09-15 20:11:12 -05:00
parent bd489769ca
commit ba9289641a
2 changed files with 3 additions and 3 deletions

View file

@ -140,7 +140,7 @@ class Service(xbmc.Monitor):
try: try:
versions = requests.get('http://kodi.emby.media/Public%20testing/Dependencies/databases.json').json() versions = requests.get('http://kodi.emby.media/Public%20testing/Dependencies/databases.json').json()
build = find(versions, kodi.lower()) build = find(versions, kodi)
if not build: if not build:
raise Exception("build %s incompatible?!" % kodi) raise Exception("build %s incompatible?!" % kodi)

View file

@ -111,7 +111,7 @@ def library_check():
if 'e_item' in kwargs: if 'e_item' in kwargs:
try: try:
view_id = kwargs['e_item'][7] view_id = kwargs['e_item'][6]
view_name = self.emby_db.get_view_name(view_id) view_name = self.emby_db.get_view_name(view_id)
view = {'Name': view_name, 'Id': view_id} view = {'Name': view_name, 'Id': view_id}
except Exception: except Exception: