mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Fix playcount
This commit is contained in:
parent
06ad9ab18c
commit
5f3f45e404
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class Kodi_Monitor( xbmc.Monitor ):
|
||||||
jsondata = json.loads(data)
|
jsondata = json.loads(data)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
playcount = jsondata['playcount']
|
playcount = jsondata.get('playcount')
|
||||||
item = jsondata['item']['id']
|
item = jsondata['item']['id']
|
||||||
type = jsondata['item']['type']
|
type = jsondata['item']['type']
|
||||||
prop = utils.window('Played%s%s' % (type, item))
|
prop = utils.window('Played%s%s' % (type, item))
|
||||||
|
|
Loading…
Reference in a new issue