Example #1
0
 def __init__(self):
     super(SkinManager, self).__init__(g.SKINS_DB_PATH, schema)
     ZipManager.__init__(self)
     # This is a list of default skins that may not be overwritten
     self.seren_skins = [DEFAULT_SKIN_NAME]
     self.installed_skins = self._get_all_installed()
     if "Seren Fox" in [i["skin_name"] for i in self.installed_skins]:
         self.execute_sql("DELETE FROM [skins] where [skin_name] = 'Seren Fox'")
         self._mark_skin_active(DEFAULT_SKIN_NAME)
         self.installed_skins = self._get_all_installed()
     self._active_skin_path = self._get_active_skin_path()
     self._progress_dialog = xbmcgui.DialogProgress()
 def __init__(self, silent=False):
     super(ProviderInstallManager, self).__init__()
     ZipManager.__init__(self)
     self.silent = silent
     self.output_folders = ["providerModules/", "providers/"]