rendered paste bodySKIN = xbmc.getSkinDir() # skin used in xbmc
# check skin
NOSKIN = 0
if os.path.isfile(HOME_DIR+'SKINS\\'+SKIN+'\\'+SKIN+'.xml'):
guibuilder.GUIBuilder(self, HOME_DIR+'SKINS\\'+SKIN+'\\'+SKIN+'.xml', GUIMD, debug=False)
NOSKIN = 1
if NOSKIN == 0:
if os.path.isfile(HOME_DIR+'SKINS\\Project Mayhem III\\Project Mayhem III.xml'):
guibuilder.GUIBuilder(self, HOME_DIR+'SKINS\\Project Mayhem III\\Project Mayhem III.xml', GUIMD, debug=False)
NOSKIN = 1
if NOSKIN == 0:
print "ERROR: No skin found!"
self.close()
# end check skin