def prepareEnvironment(): localeInit() getInstalledSkins() initBoxInformation() printGlobalSettings() initPlexServerConfig() checkPlexEnvironment() registerSkinParamsInstance() registerPlexFonts() loadPlexSkin() loadPlexPlugins()
def prepareEnvironment(): # the order here is important localeInit() getInstalledSkins() initBoxInformation() printGlobalSettings() initPlexServerConfig() registerSkinParamsInstance() getViewTypesForSettings() checkPlexEnvironment() registerPlexFonts() loadSkinParams() loadPlexSkin() loadPlexPlugins()
def startEnvironment(): # we put load skin here to avoid bootloops if there is something wrong with the skin loadPlexSkin()