mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
parent
ef22ad1a23
commit
fdff2cefb7
1 changed files with 4 additions and 4 deletions
|
@ -131,12 +131,12 @@ class API():
|
|||
favorite="True"
|
||||
else:
|
||||
favorite="False"
|
||||
if (userData.get("PlayCount")):
|
||||
playcount= userData.get("PlayCount")
|
||||
if(userData.get("Played") == True):
|
||||
playcount="1"
|
||||
else:
|
||||
playcount="0"
|
||||
if userData.get('UnplayedItemCount') != None:
|
||||
UnplayedItemCount = str(userData.get('UnplayedItemCount'))
|
||||
UnplayedItemCount = userData.get('UnplayedItemCount')
|
||||
else:
|
||||
UnplayedItemCount = "0"
|
||||
if userData.get('LastPlayedDate') != None:
|
||||
|
|
Loading…
Reference in a new issue