mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Set username when using emby connect
This commit is contained in:
parent
e443286a96
commit
71abbd4129
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ class UserClient(threading.Thread):
|
||||||
settings('markPlayed', value=str(self._server['MaxResumePct']))
|
settings('markPlayed', value=str(self._server['MaxResumePct']))
|
||||||
|
|
||||||
self._user = self.download("{server}/emby/Users/{UserId}?format=json")
|
self._user = self.download("{server}/emby/Users/{UserId}?format=json")
|
||||||
|
settings('username', value=self._user['Name'])
|
||||||
if "PrimaryImageTag" in self._user:
|
if "PrimaryImageTag" in self._user:
|
||||||
window('EmbyUserImage',
|
window('EmbyUserImage',
|
||||||
value=artwork.Artwork().getUserArtwork(self._user['Id'], 'Primary'))
|
value=artwork.Artwork().getUserArtwork(self._user['Id'], 'Primary'))
|
||||||
|
|
Loading…
Reference in a new issue