def populate_List(self): try: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, 'green': self.keyDownload, 'ok': self.keyDownload, }, -1) if not path.exists(self.BackupDirectory): mkdir(self.BackupDirectory, 0755) from ftplib import FTP import urllib, zipfile, base64 wos_user = '******' wos_pwd = base64.b64decode('YmFja3VwQXRlbWlv==').replace('\n', '') ftp = FTP('*****@*****.**') ftp.login(wos_user, wos_pwd) if getMachineMake() == 'atemio5x00': self.boxtype = 'atemio5x00' elif getMachineMake() == 'atemio6x00': self.boxtype = 'atemio6x00' elif getMachineMake() == 'atemionemesis': self.boxtype = 'atemionemesis' print 'getMachineMake:',getMachineMake() print 'getMachineBuild:',getMachineBuild() print 'getBoxType:',getBoxType() ftp.cwd(self.boxtype) del self.emlist[:] for fil in ftp.nlst(): if not fil.endswith('.') and fil.find(getBoxType()) != -1: self.emlist.append(fil) self.emlist.sort() self.emlist.reverse() ftp.quit() ftp.close() except: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, }, -1) self.emlist.append(" ") self["list"].setList(self.emlist) self["list"].show()
def keyResstore(self): self.sel = self['list'].getCurrent() if getMachineMake() == 'vusolo4k': self.session.open(MessageBox, _("Sorry, But this machine is not supported yet."), MessageBox.TYPE_INFO, timeout=10) elif self.sel: message = _("Are you sure you want to restore this image:\n ") + self.sel ybox = self.session.openWithCallback(self.keyResstore2, MessageBox, message, MessageBox.TYPE_YESNO) ybox.setTitle(_("Restore Confirmation")) else: self.session.open(MessageBox, _("You have no image to restore."), MessageBox.TYPE_INFO, timeout=10)
print("getMachineMtdRoot=%s<" %boxbranding.getMachineMtdRoot()) print("getMachineRootFile=%s<" %boxbranding.getMachineRootFile()) print("getMachineMKUBIFS=%s<" %boxbranding.getMachineMKUBIFS()) print("getMachineUBINIZE=%s<" %boxbranding.getMachineUBINIZE()) print("getBoxType=%s<" %boxbranding.getBoxType()) print("getBrandOEM=%s<" %boxbranding.getBrandOEM()) print("getOEVersion=%s<" %boxbranding.getOEVersion()) print("getDriverDate=%s<" %boxbranding.getDriverDate()) print("getImageVersion=%s<" %boxbranding.getImageVersion()) print("getImageBuild=%s<" %boxbranding.getImageBuild()) print("getImageDistro=%s<" %boxbranding.getImageDistro()) print("getImageFolder=%s<" %boxbranding.getImageFolder()) print("getImageFileSystem=%s<" %boxbranding.getImageFileSystem()) print("getImageDevBuild=%s<" %boxbranding.getImageDevBuild()) print("getImageType=%s<" %boxbranding.getImageType()) print("getMachineMake=%s<" %boxbranding.getMachineMake()) print("getImageArch=%s<" %boxbranding.getImageArch()) print("getFeedsUrl=%s<" %boxbranding.getFeedsUrl()) print("getDisplayType=%s<" %boxbranding.getDisplayType()) print("getHaveHDMI%s<" %boxbranding.getHaveHDMI()) print("getHaveYUV%s<" %boxbranding.getHaveYUV()) print("getHaveRCA%s<" %boxbranding.getHaveRCA()) print("getHaveAVJACK%s<" %boxbranding.getHaveAVJACK()) print("getHaveSCART%s<" %boxbranding.getHaveSCART()) print("getHaveSCARTYUV%s<" %boxbranding.getHaveSCARTYUV()) print("getHaveDVI%s<" %boxbranding.getHaveDVI()) print("getHaveMiniTV%s<" %boxbranding.getHaveMiniTV()) print("getHaveHDMIinHD%s<" %boxbranding.getHaveHDMIinHD()) print("getHaveHDMIinFHD%s<" %boxbranding.getHaveHDMIinFHD()) print("getHaveWOL%s<" %boxbranding.getHaveWOL()) print("getHaveWWOL%s<" %boxbranding.getHaveWWOL())
def populate_List(self): try: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, 'green': self.keyDownload, 'ok': self.keyDownload, }, -1) if not path.exists(self.BackupDirectory): mkdir(self.BackupDirectory, 0755) from ftplib import FTP import urllib, zipfile, base64 wos_user = '******' wos_pwd = base64.b64decode('cDRsWF4sTHRGNkI4Cg==').replace('\n', '') ftp = FTP('world-of-satellite.com') ftp.login(wos_user, wos_pwd) if getMachineMake() == 'vuuno': self.boxtype = 'Vu+Uno' elif getMachineMake() == 'vuultimo': self.boxtype = 'Vu+Ultimo' elif getMachineMake() == 'vusolo': self.boxtype = 'Vu+Solo' elif getMachineMake() == 'vusolo2': self.boxtype = 'Vu+Solo2' elif getMachineMake() == 'vuduo': self.boxtype = 'Vu+Duo' elif getMachineMake() == 'vuduo2': self.boxtype = 'Vu+Duo2' elif getMachineMake() == 'et4x00': self.boxtype = 'ET-4x00' elif getMachineMake() == 'et5x00': self.boxtype = 'ET-5x00' elif getMachineMake() == 'et6x00': self.boxtype = 'ET-6x00' elif getMachineMake() == 'et8000': self.boxtype = 'ET-8x00' elif getMachineMake() == 'et9x00': self.boxtype = 'ET-9x00' elif getMachineMake() == 'et10000': self.boxtype = 'ET-10x00' elif getMachineMake() == 'tmtwin': self.boxtype = 'TM-Twin-OE' elif getMachineMake() == 'tm2t': self.boxtype = 'TM-2T' elif getMachineMake() == 'tmsingle': self.boxtype = 'TM-Single' elif getMachineMake() == 'tmnano': self.boxtype = 'TM-Nano-OE' elif getMachineMake() == 'tmnano2t': self.boxtype = 'TM-Nano-2T' elif getMachineMake() == 'iqonios100hd': self.boxtype = 'iqon-IOS-100HD' elif getMachineMake() == 'iqonios200hd': self.boxtype = 'iqon-IOS-200HD' elif getMachineMake() == 'iqonios300hd': self.boxtype = 'iqon-IOS-300HD' elif getMachineMake() == 'maram9': self.boxtype = 'Mara-M9' elif getMachineMake() == 'xp1000max': self.boxtype = 'MaxDigital-XP1000' elif getMachineMake() == 'xp1000plus': self.boxtype = 'OCTAGON-XP1000PLUS' elif getMachineMake() == 'sf8': self.boxtype = 'OCTAGON-SF8-HD' elif getMachineMake() == 'qb800solo': self.boxtype = 'GiGaBlue-HD800Solo' elif getMachineMake() == 'gb800se': self.boxtype = 'GiGaBlue-HD800SE' elif getMachineMake() == 'gb800ue': self.boxtype = 'GiGaBlue-HD800UE' elif getMachineMake() == 'gb800seplus': self.boxtype = 'GiGaBlue-HD800SE-PLUS' elif getMachineMake() == 'gb800ueplus': self.boxtype = 'GiGaBlue-HD800UE-PLUS' elif getMachineMake() == 'gbquad': self.boxtype = 'GiGaBlue-HD-QUAD' elif getMachineMake() == 'gbquadplus': self.boxtype = 'GiGaBlue-HD-QUAD-PLUS' elif getMachineMake() == 'ventonhdx': self.boxtype = 'Venton-Unibox-HDx' elif getMachineMake() == 'mbtwin': self.boxtype = 'Miraclebox-Twin' elif getMachineMake() == 'mbmini': self.boxtype = 'Miraclebox-Mini' print 'getMachineMake:',getMachineMake() print 'getMachineBuild:',getMachineBuild() print 'getBoxType:',getBoxType() ftp.cwd(self.boxtype) del self.emlist[:] for fil in ftp.nlst(): if not fil.endswith('.') and fil.find(getMachineMake()) != -1: self.emlist.append(fil) self.emlist.sort() self.emlist.reverse() ftp.quit() ftp.close() except: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, }, -1) self.emlist.append(" ") self["list"].setList(self.emlist) self["list"].show()
import boxbranding print "getMachineBuild=%s<" %boxbranding.getMachineBuild() print "getMachineMake=%s<" %boxbranding.getMachineMake() print "getMachineProcModel=%s<" %boxbranding.getMachineProcModel() print "getMachineBrand=%s<" %boxbranding.getMachineBrand() print "getMachineName=%s<" %boxbranding.getMachineName() print "getMachineMtdKernel=%s<" %boxbranding.getMachineMtdKernel() print "getMachineKernelFile=%s<" %boxbranding.getMachineKernelFile() print "getMachineMtdRoot=%s<" %boxbranding.getMachineMtdRoot() print "getMachineRootFile=%s<" %boxbranding.getMachineRootFile() print "getMachineMKUBIFS=%s<" %boxbranding.getMachineMKUBIFS() print "getMachineUBINIZE=%s<" %boxbranding.getMachineUBINIZE() print "getBoxType=%s<" %boxbranding.getBoxType() print "getBrandOEM=%s<" %boxbranding.getBrandOEM() print "getOEVersion=%s<" %boxbranding.getOEVersion() print "getDriverDate=%s<" %boxbranding.getDriverDate() print "getImageVersion=%s<" %boxbranding.getImageVersion() print "getImageBuild=%s<" %boxbranding.getImageBuild() print "getImageDevBuild=%s<" %boxbranding.getImageDevBuild() print "getImageType=%s<" %boxbranding.getImageType() print "getImageDistro=%s<" %boxbranding.getImageDistro() print "getImageFolder=%s<" %boxbranding.getImageFolder() print "getImageFileSystem=%s<" %boxbranding.getImageFileSystem() print "getImageArch=%s<" %boxbranding.getImageArch()
def populate_List(self): try: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, 'green': self.keyDownload, 'ok': self.keyDownload, }, -1) if not path.exists(self.BackupDirectory): mkdir(self.BackupDirectory, 0755) import urllib2 from bs4 import BeautifulSoup if getMachineMake() == 'vuuno': self.boxtype = 'Vu+Uno' elif getMachineMake() == 'vuultimo': self.boxtype = 'Vu+Ultimo' elif getMachineMake() == 'vusolo': self.boxtype = 'Vu+Solo' elif getMachineMake() == 'vusolose': self.boxtype = 'Vu+Solo-SE' elif getMachineMake() == 'vusolo2': self.boxtype = 'Vu+Solo2' elif getMachineMake() == 'vuduo': self.boxtype = 'Vu+Duo' elif getMachineMake() == 'vuduo2': self.boxtype = 'Vu+Duo2' elif getMachineMake() == 'vuzero': self.boxtype = 'Vu+Zero' elif getMachineMake() == 'et4x00': self.boxtype = 'ET-4x00' elif getMachineMake() == 'et5x00': self.boxtype = 'ET-5x00' elif getMachineMake() == 'et6x00': self.boxtype = 'ET-6x00' elif getMachineMake() == 'et7x00': self.boxtype = 'ET-7x00' elif getMachineMake() == 'et8000': self.boxtype = 'ET-8000' elif getMachineMake() == 'et8500': self.boxtype = 'ET-8500' elif getMachineMake() == 'et9x00': self.boxtype = 'ET-9x00' elif getMachineMake() == 'et10000': self.boxtype = 'ET-10x00' elif getMachineMake() == 'tmtwin': self.boxtype = 'TM-Twin-OE' elif getMachineMake() == 'tm2t': self.boxtype = 'TM-2T' elif getMachineMake() == 'tmsingle': self.boxtype = 'TM-Single' elif getMachineMake() == 'tmnano': self.boxtype = 'TM-Nano-OE' elif getMachineMake() == 'tmnanose': self.boxtype = 'TM-Nano-SE' elif getMachineMake() == 'tmnanosecombo': self.boxtype = 'TM-Nano-SE-Combo' elif getMachineMake() == 'tmnano2t': self.boxtype = 'TM-Nano-2T' elif getMachineMake() == 'tmnano3t': self.boxtype = 'TM-Nano-3T' elif getMachineMake() == 'tmnano2super': self.boxtype = 'TM-Nano2-Super' elif getMachineMake() == 'iqonios100hd': self.boxtype = 'iqon-IOS-100HD' elif getMachineMake() == 'iqonios200hd': self.boxtype = 'iqon-IOS-200HD' elif getMachineMake() == 'iqonios300hd': self.boxtype = 'iqon-IOS-300HD' elif getMachineMake() == 'maram9': self.boxtype = 'Mara-M9' elif getMachineMake() == 'mutant2400': self.boxtype = 'Mutant-HD2400' elif getMachineMake() == 'xp1000max': self.boxtype = 'MaxDigital-XP1000' elif getMachineMake() == 'xp1000plus': self.boxtype = 'OCTAGON-XP1000PLUS' elif getMachineMake() == 'sf8': self.boxtype = 'OCTAGON-SF8-HD' elif getMachineMake() == 'qb800solo': self.boxtype = 'GiGaBlue-HD800Solo' elif getMachineMake() == 'gb800se': self.boxtype = 'GiGaBlue-HD800SE' elif getMachineMake() == 'gb800ue': self.boxtype = 'GiGaBlue-HD800UE' elif getMachineMake() == 'gb800seplus': self.boxtype = 'GiGaBlue-HD800SE-PLUS' elif getMachineMake() == 'gb800ueplus': self.boxtype = 'GiGaBlue-HD800UE-PLUS' elif getMachineMake() == 'gbquad': self.boxtype = 'GiGaBlue-HD-QUAD' elif getMachineMake() == 'gbquadplus': self.boxtype = 'GiGaBlue-HD-QUAD-PLUS' elif getMachineMake() == 'ventonhdx': self.boxtype = 'Venton-Unibox-HDx' elif getMachineMake() == 'uniboxhde': self.boxtype = 'Venton-Unibox-HDeco-PLUS' elif getMachineMake() == 'mbtwin': self.boxtype = 'Miraclebox-Twin' elif getMachineMake() == 'mbmini': self.boxtype = 'Miraclebox-Mini' elif getMachineMake() == 'mbminiplus': self.boxtype = 'Miraclebox-MiniPlus' elif getMachineMake() == 'mbhybrid': self.boxtype = 'Miraclebox-Mini-Hybrid' elif getMachineMake() == 'mbultra': self.boxtype = 'Miraclebox-Ultra' elif getMachineMake() == 'xpeedlx': self.boxtype = 'GI-Xpeed-LX' elif getMachineMake() == 'xpeedlx3': self.boxtype = 'GI-Xpeed-LX3' elif getMachineMake() == 'axodinc': self.boxtype = 'Opticum-AX-ODIN-DVBC-1' elif getMachineMake() == 'ixusszero': self.boxtype = 'Medialink-IXUSS-ZERO' url = 'http://www.openvix.co.uk/openvix-builds/'+self.boxtype+'/' conn = urllib2.urlopen(url) html = conn.read() soup = BeautifulSoup(html) links = soup.find_all('a') del self.emlist[:] for tag in links: link = tag.get('href',None) if link != None and link.endswith('zip') and link.find(getMachineMake()) != -1: self.emlist.append(str(link)) self.emlist.sort() self.emlist.reverse() except: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, }, -1) self.emlist.append(" ") self["list"].setList(self.emlist) self["list"].show()
def populate_List(self): try: self['myactions'] = ActionMap( ['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, 'green': self.keyDownload, 'ok': self.keyDownload, }, -1) if not path.exists(self.BackupDirectory): mkdir(self.BackupDirectory, 0755) from ftplib import FTP import urllib, zipfile, base64 wos_user = '******' wos_pwd = base64.b64decode('cDRsWF4sTHRGNkI4Cg==').replace( '\n', '') ftp = FTP('37.187.113.82') ftp.login(wos_user, wos_pwd) if getMachineMake() == 'vuuno': self.boxtype = 'Vu+Uno' elif getMachineMake() == 'vuultimo': self.boxtype = 'Vu+Ultimo' elif getMachineMake() == 'vusolo': self.boxtype = 'Vu+Solo' elif getMachineMake() == 'vusolose': self.boxtype = 'Vu+Solo-SE' elif getMachineMake() == 'vusolo2': self.boxtype = 'Vu+Solo2' elif getMachineMake() == 'vuduo': self.boxtype = 'Vu+Duo' elif getMachineMake() == 'vuduo2': self.boxtype = 'Vu+Duo2' elif getMachineMake() == 'vuzero': self.boxtype = 'Vu+Zero' elif getMachineMake() == 'et4x00': self.boxtype = 'ET-4x00' elif getMachineMake() == 'et5x00': self.boxtype = 'ET-5x00' elif getMachineMake() == 'et6x00': self.boxtype = 'ET-6x00' elif getMachineMake() == 'et8000': self.boxtype = 'ET-8x00' elif getMachineMake() == 'et9x00': self.boxtype = 'ET-9x00' elif getMachineMake() == 'et10000': self.boxtype = 'ET-10x00' elif getMachineMake() == 'tmtwin': self.boxtype = 'TM-Twin-OE' elif getMachineMake() == 'tm2t': self.boxtype = 'TM-2T' elif getMachineMake() == 'tmsingle': self.boxtype = 'TM-Single' elif getMachineMake() == 'tmnano': self.boxtype = 'TM-Nano-OE' elif getMachineMake() == 'tmnanose': self.boxtype = 'TM-Nano-SE' elif getMachineMake() == 'tmnano2t': self.boxtype = 'TM-Nano-2T' elif getMachineMake() == 'tmnano3t': self.boxtype = 'TM-Nano-3T' elif getMachineMake() == 'tmnano2super': self.boxtype = 'TM-Nano2-Super' elif getMachineMake() == 'iqonios100hd': self.boxtype = 'iqon-IOS-100HD' elif getMachineMake() == 'iqonios200hd': self.boxtype = 'iqon-IOS-200HD' elif getMachineMake() == 'iqonios300hd': self.boxtype = 'iqon-IOS-300HD' elif getMachineMake() == 'maram9': self.boxtype = 'Mara-M9' elif getMachineMake() == 'mutant2400': self.boxtype = 'Mutant-HD2400' elif getMachineMake() == 'xp1000max': self.boxtype = 'MaxDigital-XP1000' elif getMachineMake() == 'xp1000plus': self.boxtype = 'OCTAGON-XP1000PLUS' elif getMachineMake() == 'sf8': self.boxtype = 'OCTAGON-SF8-HD' elif getMachineMake() == 'qb800solo': self.boxtype = 'GiGaBlue-HD800Solo' elif getMachineMake() == 'gb800se': self.boxtype = 'GiGaBlue-HD800SE' elif getMachineMake() == 'gb800ue': self.boxtype = 'GiGaBlue-HD800UE' elif getMachineMake() == 'gb800seplus': self.boxtype = 'GiGaBlue-HD800SE-PLUS' elif getMachineMake() == 'gb800ueplus': self.boxtype = 'GiGaBlue-HD800UE-PLUS' elif getMachineMake() == 'gbquad': self.boxtype = 'GiGaBlue-HD-QUAD' elif getMachineMake() == 'gbquadplus': self.boxtype = 'GiGaBlue-HD-QUAD-PLUS' elif getMachineMake() == 'ventonhdx': self.boxtype = 'Venton-Unibox-HDx' elif getMachineMake() == 'uniboxhde': self.boxtype = 'Venton-Unibox-HDeco-PLUS' elif getMachineMake() == 'mbtwin': self.boxtype = 'Miraclebox-Twin' elif getMachineMake() == 'mbmini': self.boxtype = 'Miraclebox-Mini' elif getMachineMake() == 'mbultra': self.boxtype = 'Miraclebox-Ultra' elif getMachineMake() == 'xpeedlx': self.boxtype = 'GI-Xpeed-LX' elif getMachineMake() == 'xpeedlx3': self.boxtype = 'GI-Xpeed-LX3' elif getMachineMake() == 'axodinc': self.boxtype = 'Opticum-AX-ODIN-DVBC-1' elif getMachineMake() == 'ixusszero': self.boxtype = 'Medi@link-IXUSS-ZERO' ftp.cwd(self.boxtype) del self.emlist[:] for fil in ftp.nlst(): if not fil.endswith('.') and fil.find(getMachineMake()) != -1: self.emlist.append(fil) self.emlist.sort() self.emlist.reverse() ftp.quit() ftp.close() except: self['myactions'] = ActionMap( ['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, }, -1) self.emlist.append(" ") self["list"].setList(self.emlist) self["list"].show()
# Embedded file name: /usr/lib/enigma2/python/BoxBrandingTest.py import boxbranding print 'getMachineBuild=%s<' % boxbranding.getMachineBuild() print 'getMachineMake=%s<' % boxbranding.getMachineMake() print 'getMachineProcModel=%s<' % boxbranding.getMachineProcModel() print 'getMachineBrand=%s<' % boxbranding.getMachineBrand() print 'getMachineName=%s<' % boxbranding.getMachineName() print 'getMachineMtdKernel=%s<' % boxbranding.getMachineMtdKernel() print 'getMachineKernelFile=%s<' % boxbranding.getMachineKernelFile() print 'getMachineMtdRoot=%s<' % boxbranding.getMachineMtdRoot() print 'getMachineRootFile=%s<' % boxbranding.getMachineRootFile() print 'getMachineMKUBIFS=%s<' % boxbranding.getMachineMKUBIFS() print 'getMachineUBINIZE=%s<' % boxbranding.getMachineUBINIZE() print 'getBoxType=%s<' % boxbranding.getBoxType() print 'getBrandOEM=%s<' % boxbranding.getBrandOEM() print 'getOEVersion=%s<' % boxbranding.getOEVersion() print 'getDriverDate=%s<' % boxbranding.getDriverDate() print 'getImageVersion=%s<' % boxbranding.getImageVersion() print 'getImageBuild=%s<' % boxbranding.getImageBuild() print 'getImageDevBuild=%s<' % boxbranding.getImageDevBuild() print 'getImageType=%s<' % boxbranding.getImageType() print 'getImageDistro=%s<' % boxbranding.getImageDistro() print 'getImageFolder=%s<' % boxbranding.getImageFolder() print 'getImageFileSystem=%s<' % boxbranding.getImageFileSystem() print 'getImageDevBuild=%s<' % boxbranding.getImageDevBuild() print 'getImageType=%s<' % boxbranding.getImageType() print 'getMachineMake=%s<' % boxbranding.getMachineMake() print 'getImageArch=%s<' % boxbranding.getImageArch() print 'getFeedsUrl=%s<' % boxbranding.getFeedsUrl() print 'getDisplayType=%s<' % boxbranding.getDisplayType() print 'getHaveHDMI=%s<' % boxbranding.getHaveHDMI()
def box(self): # getBoxType don't work as solo sf8008 reports as sf8008s and images are called sf8008 box = getMachineMake() machinename = getMachineName() return box
def populate_List(self): try: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, 'green': self.keyDownload, 'ok': self.keyDownload, }, -1) if not path.exists(self.BackupDirectory): mkdir(self.BackupDirectory, 0755) from ftplib import FTP import urllib, zipfile, base64 vix4sh4_user = '******' vix4sh4_pwd = base64.b64decode('dml4aW1hZ2VzMjI=').replace('\n', '') ftp = FTP('vix4.com') ftp.login(vix4sh4_user, vix4sh4_pwd) if getMachineMake() == 'amiko8900': self.boxtype = 'amiko8900' if getMachineMake() == 'amikomini': self.boxtype = 'amikomini' if getMachineMake() == 'amikoalien': self.boxtype = 'amikoalien' if getMachineMake() == 'enfinity': self.boxtype = 'enfinity' if getMachineMake() == 'axodin': self.boxtype = 'axodin' if getMachineMake() == 'x2plus': self.boxtype = 'x2plus' if getMachineMake() == 'gbquadplus': self.boxtype = 'gbquadplus' if getMachineMake() == 'gb800ueplus': self.boxtype = 'gb800ueplus' if getMachineMake() == 'gb800seplus': self.boxtype = 'gb800seplus' if getMachineMake() == 'gbipbox': self.boxtype = 'gbipbox' if getMachineMake() == 'gbultraue': self.boxtype = 'gbultraue' if getMachineMake() == 'gbx1': self.boxtype = 'gbx1' if getMachineMake() == 'gbx3': self.boxtype = 'gbx3' if getMachineMake() == 'vusolo': self.boxtype = 'vusolo' if getMachineMake() == 'vuduo': self.boxtype = 'vuduo' if getMachineMake() == 'vuuno': self.boxtype = 'vuuno' if getMachineMake() == 'vuultimo': self.boxtype = 'vuultimo' if getMachineMake() == 'vuzero': self.boxtype = 'vuzero' if getMachineMake() == 'vusolo2': self.boxtype = 'vusolo2' if getMachineMake() == 'vusolose': self.boxtype = 'vusolose' if getMachineMake() == 'vuduo2': self.boxtype = 'vuduo2' if getMachineMake() == 'ixussone': self.boxtype = 'ixussone' if getMachineMake() == 'quadbox2400': self.boxtype = 'quadbox2400' if getMachineMake() == 'x1plus': self.boxtype = 'x1plus' if getMachineMake() == 'xcombo': self.boxtype = 'xcombo' if getMachineMake() == 'evomini': self.boxtype = 'evomini' if getMachineMake() == 't2cable': self.boxtype = 't2cable' if getMachineMake() == 'uniboxhde': self.boxtype = 'uniboxhde' if getMachineMake() == 'mutant2400': self.boxtype = 'mutant2400' if getMachineMake() == 'mutant1100': self.boxtype = 'mutant1100' if getMachineMake() == 'mutant500c': self.boxtype = 'mutant500c' if getMachineMake() == 'mutant1200': self.boxtype = 'mutant1200' if getMachineMake() == 'tmnanoseplus': self.boxtype = 'tmnanoseplus' if getMachineMake() == 'tmnanosem2plus': self.boxtype = 'tmnanosem2plus' if getMachineMake() == 'purehd': self.boxtype = 'purehd' if getMachineMake() == 'fusionhd': self.boxtype = 'fusionhd' if getMachineMake() == 'fusionhdse': self.boxtype = 'fusionhdse' if getMachineMake() == 'zgemmah2s': self.boxtype = 'zgemmah2s' if getMachineMake() == 'novaip': self.boxtype = 'novaip' if getMachineMake() == 'novacombo': self.boxtype = 'novacombo' if getMachineMake() == 'novatwin': self.boxtype = 'novatwin' if getMachineMake() == 'wetekplay': self.boxtype = 'wetekplay' if getMachineMake() == 'mutant51': self.boxtype = 'mutant51' if getMachineMake() == 'mutant1500': self.boxtype = 'mutant1500' ftp.cwd(self.boxtype) del self.emlist[:] for fil in ftp.nlst(): if not fil.endswith('.') and fil.find(getMachineMake()) != -1: self.emlist.append(fil) self.emlist.sort() self.emlist.reverse() ftp.quit() ftp.close() except: self['myactions'] = ActionMap(['ColorActions', 'OkCancelActions', 'DirectionActions'], { 'cancel': self.close, 'red': self.close, }, -1) self.emlist.append(" ") self["list"].setList(self.emlist) self["list"].show()