import BaseHTTPServer
import base64
from urlparse import urlparse, parse_qs
-
+import xbmcaddon
from MSL import MSL
from KodiHelper import KodiHelper
plugin_handle=None,
base_url=None
)
+
account = kodi_helper.get_credentials()
msl = MSL(account['email'], account['password'], kodi_helper)
self.wfile.write(base64.standard_b64decode(b64license))
self.finish()
else:
+ kodi_helper.log(msg='Error getting License')
self.send_response(400)
else:
+ kodi_helper.log(msg='Error in License Request')
self.send_response(400)
def do_GET(self):