mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56: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"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="1.1.30"
|
version="1.1.31"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
|
|
|
@ -16,6 +16,7 @@ import Utils as utils
|
||||||
from ClientInformation import ClientInformation
|
from ClientInformation import ClientInformation
|
||||||
from DownloadUtils import DownloadUtils
|
from DownloadUtils import DownloadUtils
|
||||||
from Player import Player
|
from Player import Player
|
||||||
|
from API import API
|
||||||
|
|
||||||
|
|
||||||
class UserClient(threading.Thread):
|
class UserClient(threading.Thread):
|
||||||
|
@ -180,6 +181,9 @@ class UserClient(threading.Thread):
|
||||||
self.logMsg("Audio preference: %s" % audio, 2)
|
self.logMsg("Audio preference: %s" % audio, 2)
|
||||||
self.logMsg("Subtitles preference: %s" % subs, 2)
|
self.logMsg("Subtitles preference: %s" % subs, 2)
|
||||||
|
|
||||||
|
# Set user image for skin display
|
||||||
|
self.WINDOW.setProperty("EmbyUserImage",API().getUserArtwork(result,"Primary"))
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def getPublicUsers(self):
|
def getPublicUsers(self):
|
||||||
|
|
Loading…
Reference in a new issue