FTP
/usr/lib/enigma2/python/Plugins/SystemPlugins/ledManager/
plugin py fil
REDIGERA
def createSetup(self):
self.list = []
self.list.append(getConfigListEntry(_("LED 0: Box is on"), self.led0ConfigEntry0))
self.list.append(getConfigListEntry(_("LED 0: Box is on and recording"), self.led0ConfigEntry1))
self.list.append(getConfigListEntry(_("LED 0: Box is standby"), self.led0ConfigEntry2))
self.list.append(getConfigListEntry(_("LED 0: Box is standby and recording"), self.led0ConfigEntry3))
if self.nr_leds > 1:
self.list.append(getConfigListEntry(_("LED 1: Box is on"), self.led1ConfigEntry0))
self.list.append(getConfigListEntry(_("LED 1: Box is on and recording"), self.led1ConfigEntry1))
self.list.append(getConfigListEntry(_("LED 1: Box is standby"), self.led1ConfigEntry2))
self.list.append(getConfigListEntry(_("LED 1: Box is standby and recording"), self.led1ConfigEntry3))
def cancel(self):
self.close()
def green(self):
config.plugins.ledManager.led0.value[0] = int(self.led0ConfigEntry0.value)
config.plugins.ledManager.led0.value[1] = int(self.led0ConfigEntry1.value)
config.plugins.ledManager.led0.value[2] = int(self.led0ConfigEntry2.value)
config.plugins.ledManager.led0.value[3] = int(self.led0ConfigEntry3.value)
config.plugins.ledManager.led0.save()
if self.nr_leds > 1:
config.plugins.ledManager.led1.value[0] = int(self.led1ConfigEntry0.value)
config.plugins.ledManager.led1.value[1] = int(self.led1ConfigEntry1.value)
config.plugins.ledManager.led1.value[2] = int(self.led1ConfigEntry2.value)
config.plugins.ledManager.led1.value[3] = int(self.led1ConfigEntry3.value)
config.plugins.ledManager.led1.save()
Då blir den bättre
LED-manager lägger du bara in under med ftp
/usr/lib/enigma2/python/Plugins/SystemPlugins
starta om box..
Nya versionen OpenPLi7.2 Japhar + ledmanger blir den blå när du ställt i led manger..utan att redigera led..
Du kopiera bara in manger behöver inte installeras
Enda som händer är att du inte kan ta bort den via fjärr kontroll




Svara med citat