mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix library tags on update
This commit is contained in:
parent
bd489769ca
commit
ba9289641a
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue