mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
added user image property for skins to use
This commit is contained in:
parent
fcefffb157
commit
6ffd7fb491
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.emby"
|
||||
name="Emby"
|
||||
version="1.1.30"
|
||||
version="1.1.31"
|
||||
provider-name="Emby.media">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue