added user image property for skins to use

This commit is contained in:
im85288 2015-08-09 16:44:02 +01:00
parent fcefffb157
commit 6ffd7fb491
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,7 @@ import Utils as utils
from ClientInformation import ClientInformation
from DownloadUtils import DownloadUtils
from Player import Player
from API import API
class UserClient(threading.Thread):
@ -180,6 +181,9 @@ class UserClient(threading.Thread):
self.logMsg("Audio preference: %s" % audio, 2)
self.logMsg("Subtitles preference: %s" % subs, 2)
# Set user image for skin display
self.WINDOW.setProperty("EmbyUserImage",API().getUserArtwork(result,"Primary"))
return True
def getPublicUsers(self):