extended NFO creation with more info

This commit is contained in:
Marcel van der Veldt 2015-03-16 22:31:32 +01:00
parent 39961041b8
commit 4810cfae52
3 changed files with 115 additions and 49 deletions

View file

@ -41,7 +41,7 @@ class ClientInformation():
xbmc.log("%s %s -> %s" % (addonName, className, str(msg)))
except UnicodeEncodeError:
try:
xbmc.log("%s %s -> %s" % (addonName, className, str(msg.encode('utf-8'))))
xbmc.log("%s %s -> %s" % (addonName, className, str(msg)))
except: pass
def getAddonId(self):
@ -144,7 +144,7 @@ class User(ClientInformation):
xbmc.log("%s %s -> %s" % (addonName, className, str(msg)))
except UnicodeEncodeError:
try:
xbmc.log("%s %s -> %s" % (addonName, className, str(msg.encode('utf-8'))))
xbmc.log("%s %s -> %s" % (addonName, className, str(msg)))
except: pass
def getUsername(self):