mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-16 21:26:14 +00:00
Second attempt at fixing playcount situation
This should also reflect the actual Emby playcount. The websocket didn't echo, but what I did is kill the echo caused by the video library update after userdata change happens.
This commit is contained in:
parent
2aefab1545
commit
ddb7ec4bbd
6 changed files with 33 additions and 33 deletions
|
@ -158,7 +158,7 @@ class API():
|
|||
else:
|
||||
favorite=False
|
||||
if(userData.get("Played") == True):
|
||||
playcount="1"
|
||||
playcount= userData.get('PlayCount')
|
||||
else:
|
||||
playcount="0"
|
||||
if userData.get('UnplayedItemCount') != None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue