mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-24 22:10:19 +00:00
Fix library tags on update
This commit is contained in:
parent
bd489769ca
commit
ba9289641a
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user