diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index 558d51d..51bd48f 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -49,7 +49,7 @@ LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot' # warranty, use at YOUR own risk. PLUGINVERSION = '8.00' -UPDATEVERSION = '8.12' +UPDATEVERSION = '8.13' def Freespace(dev): statdev = os.statvfs(dev) @@ -60,37 +60,9 @@ def Freespace(dev): class MyUpgrade(Screen): screenwidth = getDesktop(0).size().width() if screenwidth and screenwidth == 1920: - skin = """ - - - \ - {"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0), - MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1), - ], - "fonts": [gFont("Regular", 40)], - "itemHeight": 66 - } - - - - - """ + skin = """\{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),],"fonts": [gFont("Regular", 40)],"itemHeight": 66}""" else: - skin = """ - - - - {"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0), - MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1), - ], - "fonts": [gFont("Regular", 40)], - "itemHeight": 66 - } - - - - - """ + skin = """{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),],"fonts": [gFont("Regular", 40)],"itemHeight": 66}""" __module__ = __name__ def __init__(self, session): @@ -183,14 +155,9 @@ class MyUpgrade2(Screen): class MyHelp(Screen): screenwidth = getDesktop(0).size().width() if screenwidth and screenwidth == 1920: - skin = """ - - - """ + skin = """""" else: - skin = """ - - """ + skin = """""" __module__ = __name__ def __init__(self, session): @@ -223,27 +190,9 @@ class MyHelp(Screen): class Opis(Screen): screenwidth = getDesktop(0).size().width() if screenwidth and screenwidth == 1920: - skin = """ - - - - - - - - - """ + skin = """""" else: - skin = """ - - - - - - - - - """ + skin = """""" __module__ = __name__ def __init__(self, session): Screen.__init__(self, session) @@ -305,39 +254,9 @@ class Opis(Screen): class NeoBootInstallation(Screen): screenwidth = getDesktop(0).size().width() if screenwidth and screenwidth == 1920: - skin = """ - - - - - - - - - - - - - - - - """ + skin = """""" else: - skin = """ - - - \n - - - \n - \n - \n - \n - \n - \n - \n - \n - """ + skin = """\n \n \n \n \n \n \n \n \n """ def __init__(self, session): Screen.__init__(self, session) @@ -711,93 +630,10 @@ class NeoBootImageChoose(Screen): screenwidth = getDesktop(0).size().width() if screenwidth and screenwidth == 1920: skin = """ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - """ + """ else: - skin = """ - \n\t\t\t\t\t\t\t - \n\t\t\t\t\t\t\t - \n\t\t\t\t\t\t\t - \n\t\t\t\t\t\t\t - \n\t\t\t\t\t\t\t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Format:%A %e %B %Y - \t\t\t - """ - + skin = """ + \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t Format:%A %e %B %Y \t\t\t""" def __init__(self, session): Screen.__init__(self, session) @@ -1550,6 +1386,6 @@ def menu(menuid, **kwargs): from Plugins.Plugin import PluginDescriptor def Plugins(**kwargs): - return [PluginDescriptor(name='NeoBoot - change root ', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)] + return [PluginDescriptor(name='NeoBoot', description='NeoBoot MultiBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)] ####################### _(-_-)_ gutosie _(-_-)_ #######################