def run(self): if len(sys.argv[2]) > 2 and sys.argv[2][5:] == 'update': if self.updateDirectory(__svn_url__, rootDir) == 0: dialog = xbmcgui.Dialog() dialog.ok('VideoDevil', xbmc.getLocalizedString(30060)) xbmc.executebuiltin('Container.Refresh') else: import videodevil videodevil.Main()
def run(self): import videodevil videodevil.Main()