From: ghost Date: Tue, 14 Dec 2010 15:14:21 +0000 (+0100) Subject: mytest.py: set epgcache filename after plugin init X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=687ca636ffffc4487d115dc6a41099aa41a839b0 mytest.py: set epgcache filename after plugin init --- diff --git a/mytest.py b/mytest.py index d34924b..7a8d7b7 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")