mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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']))
|
||||
|
||||
self._user = self.download("{server}/emby/Users/{UserId}?format=json")
|
||||
settings('username', value=self._user['Name'])
|
||||
if "PrimaryImageTag" in self._user:
|
||||
window('EmbyUserImage',
|
||||
value=artwork.Artwork().getUserArtwork(self._user['Id'], 'Primary'))
|
||||
|
|
Loading…
Reference in a new issue