mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Playcount fix
Seems it was attached to the watched status instead of the actual playcount value.
This commit is contained in:
parent
2f3d609f53
commit
f0fb6d390b
1 changed files with 4 additions and 4 deletions
|
@ -131,12 +131,12 @@ class API():
|
|||
favorite="True"
|
||||
else:
|
||||
favorite="False"
|
||||
if(userData.get("Played") == True):
|
||||
playcount="1"
|
||||
if (userData.get("PlayCount")):
|
||||
playcount= userData.get("PlayCount")
|
||||
else:
|
||||
playcount="0"
|
||||
playcount ="0"
|
||||
if userData.get('UnplayedItemCount') != None:
|
||||
UnplayedItemCount = userData.get('UnplayedItemCount')
|
||||
UnplayedItemCount = str(userData.get('UnplayedItemCount'))
|
||||
else:
|
||||
UnplayedItemCount = "0"
|
||||
if userData.get('LastPlayedDate') != None:
|
||||
|
|
Loading…
Reference in a new issue