mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix capture progress report
This commit is contained in:
parent
1f9f4ed2b7
commit
3fd1dc6638
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class KodiMonitor(xbmc.Monitor):
|
||||||
kodi_id = item.getDbId()
|
kodi_id = item.getDbId()
|
||||||
item_type = item.getMediaType()
|
item_type = item.getMediaType()
|
||||||
|
|
||||||
if kodi_id is None or int(kodi_id) == -1 or 'item' in data and data['item'].get('id') != kodi_id:
|
if kodi_id is None or int(kodi_id) == -1 or 'item' in data and 'id' in data['item'] and data['item']['id'] != kodi_id:
|
||||||
item = data['item']
|
item = data['item']
|
||||||
kodi_id = item['id']
|
kodi_id = item['id']
|
||||||
item_type = item['type']
|
item_type = item['type']
|
||||||
|
|
Loading…
Reference in a new issue