standby rinning clock
<font filename="nmsbd.ttf" name="FdLcD" scale="100"/>
<screen name="StandbySummary" position="fill">
<widget source="global.CurrentTime" render="Label" position="0,0" size="73,64" font="DotLcD;58" halign="right" valign="center" noWrap="1" text="23">
<convert type="ClockToText">Format:%H</convert>
</widget>
<widget source="global.CurrentTime" render="Label" position="93,0" size="73,64" font="DotLcD;58" halign="left" valign="center" noWrap="1">
<convert type="ClockToText">Format:%M</convert>
</widget>
<widget source="global.CurrentTime" render="FixedLabel" text=":" font="DotLcD;58" position="73,0" size="20,64" halign="center" zPosition="3" valign="center">
<convert type="AlwaysTrue"></convert>
<convert type="ConditionalShowHide">Blink</convert>
</widget>
....
</screen>
I want to test the code of 2boom.
I placed the AlwaysTrue.py in /usr/lib/enigma2/python/Components/Renderer
After a resart of enigma AlwaysTrue.py (644) is not compiled to AlwaysTreu.pyo
Other py files are compiled to pyo after a restart of enigma.
Why is AlwaysTrue.py not compiled?
# AlwaysTrue by 2boom 2012 v.0.1
from Components.Converter.Converter import Converter
from Components.Element import cached
class AlwaysTrue(Converter, object):
def __init__(self, type):
Converter.__init__(self, type)
@cached
def getBoolean(self):
return True
boolean = property(getBoolean)
def changed(self, what):
Converter.changed(self, what)
VU+Ultimo met OpenPLI 4.0, 2TB hdd. Oscam, CD seca3 kaart en Ziggo kaart.
Dreambox 7025+ met temperatuur geregelde koeling, OpenPLI image, Swapfile 64mb op CF kaart.
VU+DUO met openPLI CCcam.