def downloadCustomModule(self): success = self.customModulesManager.downloadCustomModules() if success == True: # refresh container if SportsDevil is active currContainer = xbmcUtils.getContainerFolderPath() common.showNotification('SportsDevil', 'Download successful', 1000) if currContainer.startswith(self.base): xbmc.executebuiltin('Container.Refresh()') return True elif success == False: common.showNotification('SportsDevil', 'Download failed', 1000) return False
def downloadCustomModule(self): success = self.customModulesManager.downloadCustomModules() if success == True: # refresh container if SportsDevil is active currContainer = xbmcUtils.getContainerFolderPath() common.showNotification('SportsDevil', 'Download successful', 1000) if currContainer.startswith(self.base): xbmc.executebuiltin('Container.Refresh()') return True elif success == False: common.showNotification('SportsDevil', 'Download failed', 1000) return False
def downloadCustomModule(self): success = self.customModulesManager.downloadCustomModules() if success == True: # refresh container if Dragon Streams is active currContainer = xbmcUtils.getContainerFolderPath() common.showNotification("Dragon Streams", "Download successful", 1000) if currContainer.startswith(self.base): xbmc.executebuiltin("Container.Refresh()") return True elif success == False: common.showNotification("Dragon Streams", "Download failed", 1000) return False