From 71abbd41294fc8c97dd648e885deea2172a31838 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 4 Sep 2016 05:58:17 -0500 Subject: [PATCH] Set username when using emby connect --- resources/lib/userclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/userclient.py b/resources/lib/userclient.py index b5f8534b..cfd274a1 100644 --- a/resources/lib/userclient.py +++ b/resources/lib/userclient.py @@ -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'))