aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-12-14 16:14:21 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-12-14 16:14:21 +0100
commit687ca636ffffc4487d115dc6a41099aa41a839b0 (patch)
treed49f5769e144e6b2ad97dd392087bfc70751dcb8 /mytest.py
parent32c942bb429ba650aeeed2887f6caed7deed0e39 (diff)
downloadenigma2-687ca636ffffc4487d115dc6a41099aa41a839b0.tar.gz
enigma2-687ca636ffffc4487d115dc6a41099aa41a839b0.zip
mytest.py: set epgcache filename after plugin init
Diffstat (limited to 'mytest.py')
-rwxr-xr-xmytest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mytest.py b/mytest.py
index d34924be..7a8d7b70 100755
--- a/mytest.py
+++ b/mytest.py
@@ -60,7 +60,7 @@ config.misc.epgcache_filename = ConfigText(default = "/hdd/epg.dat")
def setEPGCachePath(configElement):
eEPGCache.getInstance().setCacheFile(configElement.value)
-config.misc.epgcache_filename.addNotifier(setEPGCachePath)
+
#demo code for use of standby enter leave callbacks
#def leaveStandby():
@@ -478,6 +478,8 @@ def runScreenTest():
else:
session.open(screen, *args)
+ config.misc.epgcache_filename.addNotifier(setEPGCachePath)
+
runNextScreen(session, screensToRun)
profile("Init:VolumeControl")