From 0590e2d352acb429b165373665b49b0e4bddca60 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 10 Dec 2021 16:15:37 +0200 Subject: [PATCH] Update plugin.py --- NeoBoot/plugin.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 9937736..e91eee7 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -16,7 +16,7 @@ #neoboot modules from __future__ import absolute_import from . import _ -from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo, getCheckActivateVip, getBoxMacAddres, getCheckExt +from Plugins.Extensions.NeoBoot.files.stbbranding import LogCrashGS, getSupportedTuners, getLabelDisck, getINSTALLNeo, getNeoLocation, getLocationMultiboot, getNeoMount, getNeoMount2, getNeoMount3, getNeoMount4, getNeoMount5, getFSTAB, getFSTAB2, getKernelVersionString, getKernelImageVersion, getChipSetString, getCPUString, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel, getImageDistroN, getFormat, getNEO_filesystems, getBoxModelVU, getMountPointAll, getMountPointNeo, getCheckActivateVip, getBoxMacAddres, getCheckExt from Plugins.Extensions.NeoBoot.files import Harddisk from Components.About import about from enigma import getDesktop, eTimer @@ -756,7 +756,10 @@ class NeoBootImageChoose(Screen): if not fileExists('/usr/lib/periodon/.kodn'): self['label22'] = Label(_('PRESS VIP PIN CODE NOW: xxxx')) if getTestToTest() != UPDATEVERSION and not fileExists('/.multinfo'): - self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.')) + self['label23'] = Label(_('Update ' + getTestToTest() + ' is available.')) + else: + if getCheckActivateVip() == getBoxMacAddres() and fileExists('/usr/lib/periodon/.kodn') and getTestToTest() == UPDATEVERSION : + self['label24'] = Label(_('CPU: ' + getCPUString() + ' ' + getChipSetString() + '')) self['actions'] = ActionMap(['WizardActions', 'ColorActions', 'MenuActions',