mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Correct path for deviceid
This commit is contained in:
parent
8d219b64b3
commit
c125414991
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
|
||||||
|
import os
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
import xbmc
|
import xbmc
|
||||||
|
@ -74,7 +75,7 @@ class ClientInfo():
|
||||||
return clientId
|
return clientId
|
||||||
|
|
||||||
addon_path = self.addon.getAddonInfo('path').decode('utf-8')
|
addon_path = self.addon.getAddonInfo('path').decode('utf-8')
|
||||||
GUID_file = xbmc.translatePath("%s\machine_guid" % addon_path).decode('utf-8')
|
GUID_file = xbmc.translatePath(os.path.join(addon_path, "machine_guid")).decode('utf-8')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
GUID = open(GUID_file)
|
GUID = open(GUID_file)
|
||||||
|
|
Loading…
Reference in a new issue