Пример #1
0
 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()
Пример #2
0
 def run(self):
     import videodevil
     videodevil.Main()