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:
angelblue05 2015-05-17 00:37:53 -05:00
parent 2aefab1545
commit ddb7ec4bbd
6 changed files with 33 additions and 33 deletions

View file

@ -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: