extended NFO creation with more info

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

View file

@ -39,7 +39,14 @@ def logMsg(title, msg, level = 1):
xbmc.log(title + " -> " + str(msg))
except UnicodeEncodeError:
xbmc.log(title + " -> " + str(msg.encode('utf-8')))
def convertEncoding(data):
#nasty hack to make sure we have a unicode string
try:
return data.decode('utf-8')
except:
return data
def checkKodiSources():
addon = xbmcaddon.Addon(id='plugin.video.mb3sync')