If re.search(logged_in_string,source,re.IGNORECASE): #search for the string in the html, without caring about upper or lower case
#the string you will use to check if the login is successful.
Logged_in = weblogin.doLogin(_datapath_,username,password) Here is the Default.py code: import xbmc, xbmcaddon, xbmcgui, xbmcplugin,os,sys I open the wizard addon and directory is blank.Ĭan someone advise where in my code is causing it to behave this way please? Here is the settings xml that stores the username and password info (this is stored in the plugins resource folder named settings.xmlĪfter entering username and password via Kodi in the addon settings menu,
What I am trying to do is, I will enter username and password via the kodi addon settings. I am trying to implement a login function to my Kodi Wizard, but when I open the addon, it only shows blank directory, not the contents of my wizard.