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:
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:
raise Exception("build %s incompatible?!" % kodi)

View file

@ -111,7 +111,7 @@ def library_check():
if 'e_item' in kwargs:
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': view_name, 'Id': view_id}
except Exception:
@ -119,7 +119,7 @@ def library_check():
if view is None:
ancestors = self.server['api'].get_ancestors(item['Id'])
if not ancestors:
return