Avdump GUI: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 39: Line 39:
class mainFrame(wx.Frame):
class mainFrame(wx.Frame):
     __simple = ['p','z','r','m','c','o','9']
     __simple = ['p','z','r','m','c','o','9']
     __options = {'avdump':'avdump.exe','user':'','pass':'','ext':'','misc':'','bsize':'2048:1','port':'','tout':'30','retries':'6','exp':'export.txt','log':'log.txt','done':'done.txt'}
     __options = {'avdump':'avdump.exe','user':'','pass':'','ext':'','misc':'','bsize':'2048:16','port':'','tout':'30','retries':'6','exp':'export.txt','log':'log.txt','done':'done.txt'}
     __configfile='config.ini'
     __configfile='config.ini'


Line 120: Line 120:


class OptionsFrame(wx.Frame):
class OptionsFrame(wx.Frame):
     __box = {'ext':False,'log':False,'exp':False,'port':False,'done':False,'bsize':False,'tout':False,'c':False,'m':False,'p':False,'r':False,'z':False,'o':False,'9':False}
     __box = {'ext':False,'log':False,'exp':False,'port':False,'done':False,'bsize':False,'tout':False,'c':False,'m':False,'p':False,'r':False,'z':False,'o':True,'9':False}
     __options = {'avdump':'avdump.exe','user':'','pass':'','ext':'','misc':'','bsize':'2048:1','port':'','tout':'30','retries':'6','exp':'export.txt','log':'log.txt','done':'done.txt'}
     __options = {'avdump':'avdump.exe','user':'','pass':'','ext':'','misc':'','bsize':'2048:16','port':'','tout':'30','retries':'6','exp':'export.txt','log':'log.txt','done':'done.txt'}
     __configfile='config.ini'
     __configfile='config.ini'


Line 308: Line 308:
             if not temp % 8:
             if not temp % 8:
                 temp = temp - (temp%8)
                 temp = temp - (temp%8)
             '''make sure the buffernumber is between 1 and 8'''
             '''make sure the buffernumber is between 1 and 16'''
             if temp2 > 8 or temp2 <1:
             if temp2 > 16 or temp2 <1:
                 temp2 = 1
                 temp2 = 1
             temp = ("%s:%s") %(temp, temp2)
             temp = ("%s:%s") %(temp, temp2)
         except:
         except:
             temp = "2048:1"
             temp = "2048:16"
         self.__options['bsize'] = unicode(temp)
         self.__options['bsize'] = unicode(temp)
         try:
         try:

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.