Revert "Playcount fix"

This reverts commit f0fb6d390b.
This commit is contained in:
angelblue05 2015-04-29 23:10:37 -05:00
parent ef22ad1a23
commit fdff2cefb7

View file

@ -131,12 +131,12 @@ class API():
favorite="True" favorite="True"
else: else:
favorite="False" favorite="False"
if (userData.get("PlayCount")): if(userData.get("Played") == True):
playcount= userData.get("PlayCount") playcount="1"
else: else:
playcount ="0" playcount="0"
if userData.get('UnplayedItemCount') != None: if userData.get('UnplayedItemCount') != None:
UnplayedItemCount = str(userData.get('UnplayedItemCount')) UnplayedItemCount = userData.get('UnplayedItemCount')
else: else:
UnplayedItemCount = "0" UnplayedItemCount = "0"
if userData.get('LastPlayedDate') != None: if userData.get('LastPlayedDate') != None: