mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix deviceId
So turns out Network.MacAddress is not the MacAddress of the local network card.
This commit is contained in:
parent
50f183da21
commit
9ecd546ce6
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class ClientInfo(object):
|
||||||
guid.close()
|
guid.close()
|
||||||
"""
|
"""
|
||||||
|
|
||||||
guid = xbmc.getInfoLabel('Network.MacAddress') or ''.join(platform.uname())
|
guid = ''.join(platform.uname())
|
||||||
client_id = hashlib.sha1(guid).hexdigest().upper()
|
client_id = hashlib.sha1(guid).hexdigest().upper()
|
||||||
|
|
||||||
xbmc.log("EMBY DeviceId: %s" % client_id, level=xbmc.LOGNOTICE)
|
xbmc.log("EMBY DeviceId: %s" % client_id, level=xbmc.LOGNOTICE)
|
||||||
|
|
Loading…
Reference in a new issue