From 687ca636ffffc4487d115dc6a41099aa41a839b0 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 14 Dec 2010 16:14:21 +0100 Subject: mytest.py: set epgcache filename after plugin init --- mytest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mytest.py') 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") -- cgit v1.2.3