Add files via upload

This commit is contained in:
gutosie
2025-12-07 14:40:55 +02:00
committed by GitHub
parent c65a1040fd
commit 2aad78a9b4
7 changed files with 2873 additions and 8051 deletions

View File

@@ -1,28 +1,26 @@
# -*- coding: utf-8 -*-
from __future__ import print_function
from Components.Language import language
from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_LANGUAGE
import os
import gettext
PluginLanguageDomain = "NeoBoot"
PluginLanguagePath = "Extensions/NeoBoot/locale"
PluginLanguageDomain = 'NeoBoot'
PluginLanguagePath = 'Extensions/NeoBoot/locale'
def localeInit():
lang = language.getLanguage()[:2]
os.environ["LANGUAGE"] = lang
os.environ['LANGUAGE'] = lang
print("[NeoBoot] set language to "), lang
gettext.bindtextdomain(
PluginLanguageDomain,
resolveFilename(
SCOPE_PLUGINS,
PluginLanguagePath))
gettext.bindtextdomain(PluginLanguageDomain, resolveFilename(SCOPE_PLUGINS, PluginLanguagePath))
def _(txt):
t = gettext.dgettext(PluginLanguageDomain, txt)
if t == txt:
print("[NeoBoot] fallback to default translation for"), txt
t = gettext.dgettext("enigma2", txt)
t = gettext.dgettext('enigma2', txt)
return t

View File

@@ -1,35 +1,8 @@
#!/usr/bin/python
import sys
import extract
if len(sys.argv) < 17:
pass
#if len(sys.argv) < 18:
#print(
#f"Error: Incorrect number of arguments. Expected 17, got {
#len(
#sys.argv) -
#1}",
#file=sys.stderr,
#)
#print(f"Usage: {sys.argv[0]} <arg1> <arg2> ... <arg17>", file=sys.stderr)
#sys.exit(1)
else:
extract.NEOBootMainEx(
sys.argv[1],
sys.argv[2],
sys.argv[3],
sys.argv[4],
sys.argv[5],
sys.argv[6],
sys.argv[7],
sys.argv[8],
sys.argv[9],
sys.argv[10],
sys.argv[11],
sys.argv[12],
sys.argv[13],
sys.argv[14],
sys.argv[15],
sys.argv[16],
sys.argv[17]
)
extract.NEOBootMainEx(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7], sys.argv[8], sys.argv[9], sys.argv[10], sys.argv[11], sys.argv[12], sys.argv[13], sys.argv[14], sys.argv[15], sys.argv[16], sys.argv[17] )

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -101,10 +101,6 @@
"maxytecmulti"
"multibox"
"multiboxse"
"multiboxpro"
"novaler4k"
"novaler4kse"
"novaler4kpro"
"viper4k"
"et1x000"
"gbquad4k"quad4k"
@@ -177,5 +173,6 @@ WWIO BRE2ZE 4K : bcm7251s
Axas HIS Twin : Hisilicon 3716MV410 (ARM v7)
Qviart Lunix 4K : 72604
gigablue X3 4k : BCM 72604
#END

View File

@@ -1,15 +1,10 @@
# -*- coding: utf-8 -*-
#from __init__ import _
from __future__ import absolute_import
from __future__ import print_function
from Plugins.Extensions.NeoBoot.__init__ import _
from Plugins.Extensions.NeoBoot.files.stbbranding import (
getNeoLocation,
getKernelVersionString,
getKernelImageVersion,
getCPUtype,
getCPUSoC,
getImageNeoBoot,
getBoxVuModel,
getBoxHostName,
getTunerModel,
)
from Plugins.Extensions.NeoBoot.files.stbbranding import getNeoLocation, getKernelVersionString, getKernelImageVersion, getCPUtype, getCPUSoC, getImageNeoBoot, getBoxVuModel, getBoxHostName, getTunerModel
from enigma import getDesktop
from enigma import eTimer
from Screens.Screen import Screen
@@ -32,36 +27,16 @@ from Components.Pixmap import Pixmap, MultiPixmap
from Components.config import *
from Components.ConfigList import ConfigListScreen
from Tools.LoadPixmap import LoadPixmap
from Tools.Directories import (
fileExists,
pathExists,
createDir,
resolveFilename,
SCOPE_PLUGINS,
)
from os import (
system,
listdir,
mkdir,
chdir,
getcwd,
rename as os_rename,
remove as os_remove,
popen,
)
from Tools.Directories import fileExists, pathExists, createDir, resolveFilename, SCOPE_PLUGINS
from os import system, listdir, mkdir, chdir, getcwd, rename as os_rename, remove as os_remove, popen
from os.path import dirname, isdir, isdir as os_isdir
import os
import time
if (
not fileExists("/etc/vtiversion.info")
and not fileExists("/etc/bhversion")
and fileExists("/usr/lib/python2.7")
):
if not fileExists('/etc/vtiversion.info') and not fileExists('/etc/bhversion') and fileExists('/usr/lib/python2.7'):
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
else:
from Screens.Console import Console
LinkNeoBoot = "/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot"
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
def getDS():
@@ -102,7 +77,7 @@ class InstallImage(Screen, ConfigListScreen):
<widget name="key_blue" position="1233,760" zPosition="1" size="272,56" font="baslk; 35" halign="center" valign="center" backgroundColor="#0000FF" transparent="1" foregroundColor="blue" />\
</screen>"""
else:
skin = """<screen position="0,0" size="1280,720" title="NeoBoot - Installation">
skin = """<screen position="0,0" size="1280,720" title="NeoBoot - Installation">
<ePixmap position="0,0" zPosition="-1" size="1280,720" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/1frame_base-fs8.png" />
<eLabel text="NeoBoot opcje dla instalowanego obrazu" font="Regular; 28" position="10,30" size="700,30" halign="center" foregroundColor="#58ccff" backgroundColor="black" transparent="1" />
<widget name="config" position="0,150" size="780,450" font="Regular; 22" itemHeight="32" scrollbarMode="showOnDemand" transparent="1" backgroundColor="transpBlack" />
@@ -121,60 +96,60 @@ class InstallImage(Screen, ConfigListScreen):
def __init__(self, session):
Screen.__init__(self, session)
fn = "NewImage"
fn = 'NewImage'
sourcelist = []
for fn in os.listdir("%sImagesUpload" % getNeoLocation()):
if fn.find(".zip") != -1:
fn = fn.replace(".zip", "")
for fn in os.listdir('%sImagesUpload' % getNeoLocation()):
if fn.find('.zip') != -1:
fn = fn.replace('.zip', '')
sourcelist.append((fn, fn))
continue
if fn.find(".rar") != -1:
fn = fn.replace(".rar", "")
if fn.find('.rar') != -1:
fn = fn.replace('.rar', '')
sourcelist.append((fn, fn))
continue
if fn.find(".tar.xz") != -1:
fn = fn.replace(".tar.xz", "")
if fn.find('.tar.xz') != -1:
fn = fn.replace('.tar.xz', '')
sourcelist.append((fn, fn))
continue
if fn.find(".tar.gz") != -1:
fn = fn.replace(".tar.gz", "")
if fn.find('.tar.gz') != -1:
fn = fn.replace('.tar.gz', '')
sourcelist.append((fn, fn))
continue
if fn.find(".tar.bz2") != -1:
fn = fn.replace(".tar.bz2", "")
if fn.find('.tar.bz2') != -1:
fn = fn.replace('.tar.bz2', '')
sourcelist.append((fn, fn))
continue
if fn.find(".tar") != -1:
fn = fn.replace(".tar", "")
if fn.find('.tar') != -1:
fn = fn.replace('.tar', '')
sourcelist.append((fn, fn))
continue
if fn.find(".tar") != -1:
fn = fn.replace(".tar.gz", "")
if fn.find('.tar') != -1:
fn = fn.replace('.tar.gz', '')
sourcelist.append((fn, fn))
continue
if fn.find('.mb') != -1:
fn = fn.replace('.mb', '')
sourcelist.append((fn, fn))
continue
if fn.find(".mb") != -1:
fn = fn.replace(".mb", "")
sourcelist.append((fn, fn))
continue
if fn.find(".nfi") != -1:
fn = fn.replace(".nfi", "")
if fn.find('.nfi') != -1:
fn = fn.replace('.nfi', '')
sourcelist.append((fn, fn))
continue
if len(sourcelist) == 0:
sourcelist = [("None", "None")]
sourcelist = [('None', 'None')]
self.source = ConfigSelection(choices=sourcelist)
self.target = ConfigText(fixed_size=False)
self.CopyFiles = ConfigYesNo(default=True)
self.CopyFiles = ConfigYesNo(default=True)
if "vu" + getBoxVuModel() == getBoxHostName():
self.CopyKernel = ConfigYesNo(default=True)
self.CopyKernel = ConfigYesNo(default=True)
else:
self.CopyKernel = ConfigYesNo(default=False)
self.TvList = ConfigYesNo(default=False)
self.LanWlan = ConfigYesNo(default=False)
if "vu" + getBoxVuModel() == getBoxHostName():
if "vu" + getBoxVuModel() == getBoxHostName():
self.Sterowniki = ConfigYesNo(default=False)
else:
self.Sterowniki = ConfigYesNo(default=True)
self.Sterowniki = ConfigYesNo(default=True)
self.Montowanie = ConfigYesNo(default=False)
self.InstallSettings = ConfigYesNo(default=False)
self.ZipDelete = ConfigYesNo(default=False)
@@ -182,227 +157,139 @@ class InstallImage(Screen, ConfigListScreen):
self.SoftCam = ConfigYesNo(default=False)
self.MediaPortal = ConfigYesNo(default=False)
self.PiconR = ConfigYesNo(default=False)
self.Kodi = ConfigYesNo(default=False)
self.Kodi = ConfigYesNo(default=False)
self.BlackHole = ConfigYesNo(default=False)
for line in open("/etc/hostname"):
if (
getCPUtype() == "MIPS"
and "dm500hd" not in line
and "dm800se" not in line
and "dm800" not in line
and "dm8000" not in line
):
if getCPUtype() == 'MIPS' and not "dm500hd" in line and not "dm800se" in line and not "dm800" in line and not "dm8000" in line :
self.Nandsim = ConfigYesNo(default=True)
else:
self.Nandsim = ConfigYesNo(default=False)
self.target.value = ""
self.curselimage = ""
else:
self.Nandsim = ConfigYesNo(default=False)
self.target.value = ''
self.curselimage = ''
try:
if self.curselimage != self.source.value:
self.target.value = self.source.value[:-13]
self.curselimage = self.source.value
except BaseException:
except:
pass
self.createSetup()
ConfigListScreen.__init__(self, self.list, session=session)
self.source.addNotifier(self.typeChange)
self["actions"] = ActionMap(
[
"OkCancelActions",
"ColorActions",
"CiSelectionActions",
"VirtualKeyboardActions",
],
{
"cancel": self.cancel,
"red": self.cancel,
"green": self.imageInstall,
"yellow": self.HelpInstall,
"blue": self.openKeyboard,
},
-2,
)
self["key_green"] = Label(_("Install"))
self["key_red"] = Label(_("Cancel"))
self["key_yellow"] = Label(_("Help"))
self["key_blue"] = Label(_("Keyboard"))
self["HelpWindow"] = Pixmap()
self["HelpWindow"].hide()
self['actions'] = ActionMap(['OkCancelActions',
'ColorActions',
'CiSelectionActions',
'VirtualKeyboardActions'], {'cancel': self.cancel,
'red': self.cancel,
'green': self.imageInstall,
'yellow': self.HelpInstall,
'blue': self.openKeyboard}, -2)
self['key_green'] = Label(_('Install'))
self['key_red'] = Label(_('Cancel'))
self['key_yellow'] = Label(_('Help'))
self['key_blue'] = Label(_('Keyboard'))
self['HelpWindow'] = Pixmap()
self['HelpWindow'].hide()
def createSetup(self):
self.list = []
self.list.append(
getConfigListEntry(
_("Source Image file"),
self.source))
self.list.append(getConfigListEntry(_("Image Name"), self.target))
self.list.append(
getConfigListEntry(
_("Copy files from Flash to the installed image ?"),
self.CopyFiles))
self.list.append(
getConfigListEntry(
_("Copy the kernel of the installed system (recommended ?"),
self.CopyKernel,
)
)
self.list.append(
getConfigListEntry(
_("Copy the channel list ?"),
self.TvList))
self.list.append(
getConfigListEntry(
_("Copy network settings LAN-WLAN ?"),
self.LanWlan))
self.list.append(
getConfigListEntry(
_("Copy the drivers ? (Recommended only other image.)"),
self.Sterowniki))
self.list.append(
getConfigListEntry(
_("Copy mounting disks ? (Recommended)"), self.Montowanie
)
)
self.list.append(
getConfigListEntry(
_("Copy Settings to the new Image"), self.InstallSettings
)
)
self.list.append(
getConfigListEntry(
_("Delete Image zip after Install ?"),
self.ZipDelete))
self.list.append(
getConfigListEntry(
_("Repair FTP ? (Recommended only other image if it does not work.)"),
self.RepairFTP,
))
self.list.append(
getConfigListEntry(
_("Copy config SoftCam ?"),
self.SoftCam))
self.list.append(
getConfigListEntry(
_("Copy MediaPortal ?"),
self.MediaPortal))
self.list.append(
getConfigListEntry(
_("Copy picon flash to image install ?"),
self.PiconR))
self.list.append(
getConfigListEntry(
_("Transfer kodi settings ?"),
self.Kodi))
self.list.append(
getConfigListEntry(
_("Path BlackHole ? (Not recommended for VuPlus)"),
self.BlackHole))
if getCPUtype() == "MIPS":
self.list.append(
getConfigListEntry(
_("Use Nandsim to install image ?"),
self.Nandsim))
self.list.append(getConfigListEntry(_('Source Image file'), self.source))
self.list.append(getConfigListEntry(_('Image Name'), self.target))
self.list.append(getConfigListEntry(_('Copy files from Flash to the installed image ?'), self.CopyFiles))
self.list.append(getConfigListEntry(_('Copy the kernel of the installed system (recommended ?'), self.CopyKernel))
self.list.append(getConfigListEntry(_('Copy the channel list ?'), self.TvList))
self.list.append(getConfigListEntry(_('Copy network settings LAN-WLAN ?'), self.LanWlan))
self.list.append(getConfigListEntry(_('Copy the drivers ? (Recommended only other image.)'), self.Sterowniki))
self.list.append(getConfigListEntry(_('Copy mounting disks ? (Recommended)'), self.Montowanie))
self.list.append(getConfigListEntry(_('Copy Settings to the new Image'), self.InstallSettings))
self.list.append(getConfigListEntry(_('Delete Image zip after Install ?'), self.ZipDelete))
self.list.append(getConfigListEntry(_('Repair FTP ? (Recommended only other image if it does not work.)'), self.RepairFTP))
self.list.append(getConfigListEntry(_('Copy config SoftCam ?'), self.SoftCam))
self.list.append(getConfigListEntry(_('Copy MediaPortal ?'), self.MediaPortal))
self.list.append(getConfigListEntry(_('Copy picon flash to image install ?'), self.PiconR))
self.list.append(getConfigListEntry(_('Transfer kodi settings ?'), self.Kodi))
self.list.append(getConfigListEntry(_('Path BlackHole ? (Not recommended for VuPlus)'), self.BlackHole))
if getCPUtype() == 'MIPS':
self.list.append(getConfigListEntry(_('Use Nandsim to install image ?'), self.Nandsim))
def HelpInstall(self):
self.session.open(HelpInstall)
self.session.open(HelpInstall)
def typeChange(self, value):
self.createSetup()
self["config"].l.setList(self.list)
self['config'].l.setList(self.list)
if self.curselimage != self.source.value:
self.target.value = self.source.value[:-13]
self.curselimage = self.source.value
def openKeyboard(self):
sel = self["config"].getCurrent()
sel = self['config'].getCurrent()
if sel:
if sel == self.target:
if self["config"].getCurrent(
)[1].help_window.instance is not None:
self["config"].getCurrent()[1].help_window.hide()
if self['config'].getCurrent()[1].help_window.instance is not None:
self['config'].getCurrent()[1].help_window.hide()
self.vkvar = sel[0]
if self.vkvar == _("Image Name"):
self.session.openWithCallback(
self.VirtualKeyBoardCallback,
VirtualKeyBoard,
title=self["config"].getCurrent()[0],
text=self["config"].getCurrent()[1].value,
)
if self.vkvar == _('Image Name'):
self.session.openWithCallback(self.VirtualKeyBoardCallback, VirtualKeyBoard, title=self['config'].getCurrent()[0], text=self['config'].getCurrent()[1].value)
return
def VirtualKeyBoardCallback(self, callback=None):
if callback is not None and len(callback):
self["config"].getCurrent()[1].setValue(callback)
self["config"].invalidate(self["config"].getCurrent())
self['config'].getCurrent()[1].setValue(callback)
self['config'].invalidate(self['config'].getCurrent())
return
def imageInstall(self):
pluginpath = "" + LinkNeoBoot + ""
myerror = ""
source = self.source.value.replace(" ", "")
target = self.target.value.replace(" ", "")
for fn in os.listdir("%sImageBoot" % getNeoLocation()):
if fn == target:
myerror = (
_("Sorry, an Image with the name ")
+ target
+ _(" is already installed.\n Please try another name.")
)
continue
pluginpath = '' + LinkNeoBoot + ''
myerror = ''
source = self.source.value.replace(' ', '')
target = self.target.value.replace(' ', '')
for fn in os.listdir('%sImageBoot' % getNeoLocation()):
if fn == target:
myerror = _('Sorry, an Image with the name ') + target + _(' is already installed.\n Please try another name.')
continue
if source == "None":
myerror = _(
"You have to select one Image to install.\nPlease, upload your zip file in the folder: %sImagesUpload and select the image to install."
)
if target == "":
myerror = _("You have to provide a name for the new Image.")
if target == "Flash":
myerror = _(
"Sorry this name is reserved. Choose another name for the new Image."
)
if len(target) > 30:
myerror = _("Sorry the name of the new Image is too long.")
if myerror:
myerror
self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
else:
myerror
message = "echo -e '"
message += _("NeoBot started installing new image.\n")
message += _("The installation process may take a few minutes.\n")
message += _("Please: DO NOT reboot your STB and turn off the power.\n")
message += _("Please, wait...\n")
message += "'"
cmd1 = "python " + pluginpath + "/ex_init.py"
cmd = "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s " % (
cmd1,
source,
target.replace(" ", "."),
str(self.CopyFiles.value),
str(self.CopyKernel.value),
str(self.TvList.value),
str(self.LanWlan.value),
str(self.Sterowniki.value),
str(self.Montowanie.value),
str(self.InstallSettings.value),
str(self.ZipDelete.value),
str(self.RepairFTP.value),
str(self.SoftCam.value),
str(self.MediaPortal.value),
str(self.PiconR.value),
str(self.Kodi.value),
str(self.BlackHole.value),
str(self.Nandsim.value),
)
print("[MULTI-BOOT]: "), cmd
from Plugins.Extensions.NeoBoot.plugin import PLUGINVERSION
self.session.open(
Console,
_("NeoBoot v.%s - Install new image") % PLUGINVERSION,
[message, cmd],
)
if source == 'None':
myerror = _('You have to select one Image to install.\nPlease, upload your zip file in the folder: %sImagesUpload and select the image to install.')
if target == '':
myerror = _('You have to provide a name for the new Image.')
if target == 'Flash':
myerror = _('Sorry this name is reserved. Choose another name for the new Image.')
if len(target) > 30:
myerror = _('Sorry the name of the new Image is too long.')
if myerror:
myerror
self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
else:
myerror
message = "echo -e '"
message += _('NeoBot started installing new image.\n')
message += _('The installation process may take a few minutes.\n')
message += _('Please: DO NOT reboot your STB and turn off the power.\n')
message += _('Please, wait...\n')
message += "'"
cmd1 = 'python ' + pluginpath + '/ex_init.py'
cmd = '%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s ' % (cmd1,
source,
target.replace(' ', '.'),
str(self.CopyFiles.value),
str(self.CopyKernel.value),
str(self.TvList.value),
str(self.LanWlan.value),
str(self.Sterowniki.value),
str(self.Montowanie.value),
str(self.InstallSettings.value),
str(self.ZipDelete.value),
str(self.RepairFTP.value),
str(self.SoftCam.value),
str(self.MediaPortal.value),
str(self.PiconR.value),
str(self.Kodi.value),
str(self.BlackHole.value),
str(self.Nandsim.value))
print("[MULTI-BOOT]: "), cmd
from Plugins.Extensions.NeoBoot.plugin import PLUGINVERSION
self.session.open(Console, _('NeoBoot v.%s - Install new image') % PLUGINVERSION, [message, cmd])
def cancel(self):
self.close()
@@ -423,86 +310,59 @@ class HelpInstall(Screen):
def __init__(self, session):
Screen.__init__(self, session)
self["lab1"] = ScrollLabel("")
self["actions"] = ActionMap(
["WizardActions", "ColorActions", "DirectionActions"],
{
"back": self.close,
"ok": self.close,
"up": self["lab1"].pageUp,
"left": self["lab1"].pageUp,
"down": self["lab1"].pageDown,
"right": self["lab1"].pageDown,
},
)
self["lab1"].hide()
self['lab1'] = ScrollLabel('')
self['actions'] = ActionMap(['WizardActions', 'ColorActions', 'DirectionActions'], {'back': self.close,
'ok': self.close,
'up': self['lab1'].pageUp,
'left': self['lab1'].pageUp,
'down': self['lab1'].pageDown,
'right': self['lab1'].pageDown})
self['lab1'].hide()
self.updatetext()
def updatetext(self):
message = _("Source Image file")
message += _(
" - Select the software to be installed with the cursor (left or right).\n\n"
)
message = _('Source Image file')
message += _(' - Select the software to be installed with the cursor (left or right).\n\n')
message += _("Image Name")
message += _(" - to change, press blue on the remote control.\n\n")
message += _('Image Name')
message += _(' - to change, press blue on the remote control.\n\n')
message += _("Copy files from Flash to the installed image ?")
message += _(
" - this checking this option on it nothing will be copied from the image flash to the installed image in neoboot.\n\n"
)
message += _('Copy files from Flash to the installed image ?')
message += _(' - this checking this option on it nothing will be copied from the image flash to the installed image in neoboot.\n\n')
message += _("Copy the kernel of the installed system (recommended ?")
message += _(
"- after selecting this option, the kernel of the installed image will be copied to neoboot, only recommended for STB vuplus\n\n"
)
message += _('Copy the kernel of the installed system (recommended ?')
message += _('- after selecting this option, the kernel of the installed image will be copied to neoboot, only recommended for STB vuplus\n\n')
message += _("Copy the channel list ?")
message += _(
" - Option to copy channel list from flash to image installed in neoboot.\n\n"
)
message += _('Copy the channel list ?')
message += _(' - Option to copy channel list from flash to image installed in neoboot.\n\n')
message += _("Copy mounting disks ? (Recommended)")
message += _(
" - the option transfers mounts to the image installed in neoboot from the flashlight, recommended only if you are installing an image from a different model than you have.\n\n"
)
message += _('Copy mounting disks ? (Recommended)')
message += _(' - the option transfers mounts to the image installed in neoboot from the flashlight, recommended only if you are installing an image from a different model than you have.\n\n')
message += _("Copy network settings LAN-WLAN ?")
message += _(
" - the option moves files with the settings for lan and wlan.\n\n"
)
message += _('Copy network settings LAN-WLAN ?')
message += _(' - the option moves files with the settings for lan and wlan.\n\n')
message += _("Copy the drivers ? (Recommended only other image.)")
message += _(
" - Option to copy drivers to the image installed in neoboot from the flashlight, recommended only if you are installing an image from a different model than you have.\n\n"
)
message += _('Copy the drivers ? (Recommended only other image.)')
message += _(' - Option to copy drivers to the image installed in neoboot from the flashlight, recommended only if you are installing an image from a different model than you have.\n\n')
message += _("Copy Settings to the new Image")
message += _(
" - the option copies the software settings from the flashlight to the system being installed in the neobot.\n\n"
)
message += _('Copy Settings to the new Image')
message += _(' - the option copies the software settings from the flashlight to the system being installed in the neobot.\n\n')
message += _("Delete Image zip after Install ?")
message += _(
" - po instalacji, opcja kasuje plik zip image z katalogu ImagesUpload.\n\n"
)
message += _('Delete Image zip after Install ?')
message += _(' - po instalacji, opcja kasuje plik zip image z katalogu ImagesUpload.\n\n')
message += _("Repair FTP ? (Recommended only other image if it does not work.)")
message += _(
" - the option in some cases repairs the File Transfer Protocol connection in the installed image.\n\n"
)
message += _('Repair FTP ? (Recommended only other image if it does not work.)')
message += _(' - the option in some cases repairs the File Transfer Protocol connection in the installed image.\n\n')
message += _("Copy config SoftCam ?")
message += _(
" - the option copies oscam configi and cccam, openpli default.\n\n"
)
message += _('Copy config SoftCam ?')
message += _(' - the option copies oscam configi and cccam, openpli default.\n\n')
message += _("Copy picon flash to image install ?")
message += _(" - cpuy picon from flash to image install in neoboot\n\n")
message += _('Copy picon flash to image install ?')
message += _(' - cpuy picon from flash to image install in neoboot\n\n')
message += _("Path BlackHole ? (Not recommended for VuPlus)")
message += _(" - option for image blackhole, helps to run BH in neoboot\n\n")
message += _('Path BlackHole ? (Not recommended for VuPlus)')
message += _(' - option for image blackhole, helps to run BH in neoboot\n\n')
self["lab1"].show()
self["lab1"].setText(message)
self['lab1'].show()
self['lab1'].setText(message)

View File

@@ -1,8 +1,36 @@
# skin = ./meoskins/defaul_skin - gutosie
from Screens.Screen import Screen
from Components.Pixmap import Pixmap
import os
#Colors (#AARRGGBB)
#____Recommended colors - Zalecane kolory :
#color name="white" value="#ffffff"
#color name="darkwhite" value="#00dddddd"
#color name="red" value="#f23d21"
#color name="green" value="#389416"
#color name="blue" value="#0064c7"
#color name="yellow" value="#bab329"
#color name="orange" value="#00ffa500"
#color name="gray" value="#808080"
#color name="lightgrey" value="#009b9b9b"
# green = '#00389416' lub #00389416
# red = '#00ff2525'
# yellow = '#00ffe875'
# orange = '#00ff7f50'
# seledynowy = #00FF00
# jasny-blue = #99FFFF
# Zamiast font=Regular ktory nie rozpoznaje polskich znakow np. na VTi, mozesz zmienic na ponizsze font="*:
# font - genel
# font - baslk
# font - tasat
# font - dugme
# <widget name="config" position="1177,256" size="703,717" itemHeight="43" font="genel;30" scrollbarMode="showOnDemand" foregroundColor="#00FFFFFF" backgroundColor="#1A0F0F0F" foregroundColorSelected="#00FFFFF" backgroundColorSelected="#1A27408B" scrollbarSliderBorderWidth="1" scrollbarWidth="8" scrollbarSliderForegroundColor="#00FFFFFF" scrollbarSliderBorderColor="#0027408B" enableWrapAround="1" transparent="1" />
###____ Skin Ultra HD - ImageChooseFULLHD ___ mod. gutosie___
ImageChooseFULLHD = """
<screen name="ImageChooseFULLHD" position="center,center" size="1920,1080" title=" " flags="wfNoBorder" backgroundColor="transparent">
<eLabel backgroundColor="black" font="dugme; 30" foregroundColor="#99FFFF" position="70,50" size="298,55" valign="center" text="NEOBoot Multi-image" transparent="1" />
@@ -60,6 +88,7 @@ ImageChooseFULLHD = """
"""
###____ Skin Ultra HD - ImageChooseULTRAHD ___ mod. gutosie___
ImageChooseULTRAHD = """
<screen name="NeoBootImageChoose" position="0,0" size="3840,2160" flags="wfNoBorder" backgroundColor="#ff111111">
<widget source="Title" render="Label" position="174,108" size="1575,150" font="baslk;102" valign="bottom" foregroundColor="#00FFFFFF" backgroundColor="#1A0F0F0F" noWrap="1" transparent="1" />
@@ -108,6 +137,7 @@ ImageChooseULTRAHD = """
</screen>"""
###____ Skin HD - ImageChoose ___mod. gutosie ___
ImageChooseHD = """
<screen name="NeoBootImageChoose" position="center,center" size="1280, 720" backgroundColor="transpBlack">
<ePixmap position="0,0" zPosition="-1" size="1274,720" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/1frame_base-fs8.png" />
@@ -154,6 +184,7 @@ ImageChooseHD = """
"""
###____ Skin FULLHD - MyUpgradeFULLHD ___mod. gutosie ___
MyUpgradeFULLHD = """
<screen name="MyUpgradeFULLHD" position="center,center" size="1380,570" title="Tools Neoboot">
<ePixmap position="594,255" zPosition="-2" size="623,313" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" />
@@ -172,6 +203,7 @@ MyUpgradeFULLHD = """
</screen>"""
###____ Skin UltraHD - MyUpgradeUltraHD ___mod. gutosie ___
MyUpgradeUltraHD = """
<screen name="MyUpgradeUltraHD" position="center,center" size="2100,1020" flags="wfNoBorder" backgroundColor="#ff111111">
<widget name="label1" position="180,210" size="1740,78" font="genel;60" halign="center" foregroundColor="#00FFFFFF" backgroundColor="#1A0F0F0F" zPosition="1" transparent="1" />
@@ -188,6 +220,7 @@ MyUpgradeUltraHD = """
</screen>"""
###____ Skin MyUpgradeHD - MyUpgradeHD ___mod. gutosie ___
MyUpgradeHD = """
<screen name="MyUpgradeHD" position="center,center" size="1127,569" title="Tools NeoBoot">
<ePixmap position="492,223" zPosition="-2" size="589,298" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" />
@@ -206,6 +239,7 @@ MyUpgradeHD = """
</screen>"""
###____ Skin NeoBootInstallationFULLHD - NeoBootInstallationFULLHD ___mod. gutosie ___
NeoBootInstallationFULLHD = """
<screen name="NeoBootInstallationFULLHD" position="410,138" size="1200,850" title="NeoBoot">
<ePixmap position="643,282" zPosition="-2" size="531,331" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" />
@@ -230,6 +264,7 @@ NeoBootInstallationFULLHD = """
<widget name="key_blue" position="856,761" zPosition="1" size="326,52" font="dugme; 28" halign="center" valign="center" backgroundColor="blue" transparent="1" foregroundColor="blue" />
</screen>"""
###____ Skin NeoBootInstallationUltraHD - NeoBootInstallationUltraHD ___mod. gutosie ___
NeoBootInstallationUltraHD = """
<screen name="NeoBootInstallationUltraHD" position="0,0" size="3840,2160" flags="wfNoBorder" backgroundColor="#ff111111">
<widget source="Title" render="Label" position="174,108" size="1575,150" font="baslk;102" valign="bottom" foregroundColor="#00FFFFFF" backgroundColor="#1A0F0F0F" noWrap="1" transparent="1" />
@@ -261,6 +296,7 @@ NeoBootInstallationUltraHD = """
</screen>"""
###____ Skin NeoBootInstallationHD - NeoBootInstallationHD ___mod. gutosie ___
NeoBootInstallationHD = """
<screen position="center, center" size="835, 500" title="NeoBoot">
<ePixmap position="0,0" zPosition="-1" size="835,500" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/frame835x500.png" />