aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-05 00:16:16 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-05 00:16:35 +0100
commit7fd4241a1d7b8d7c36385860b24882636517473b (patch)
tree477cc54c407aa66f6a40c330794207bfc01527c1 /mytest.py
parent7709c1d61e799fa06a257f1d6b9c23ae205fe0c9 (diff)
downloadenigma2-7fd4241a1d7b8d7c36385860b24882636517473b.tar.gz
enigma2-7fd4241a1d7b8d7c36385860b24882636517473b.zip
epgache: move epg cache file name to main enigma2 settings file (config.misc.epgache_filename)
Diffstat (limited to 'mytest.py')
-rwxr-xr-xmytest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mytest.py b/mytest.py
index a3cfb5a2..92e49baf 100755
--- a/mytest.py
+++ b/mytest.py
@@ -10,7 +10,8 @@ from Tools.Profile import profile, profile_final
profile("PYTHON_START")
from enigma import runMainloop, eDVBDB, eTimer, quitMainloop, \
- getDesktop, ePythonConfigQuery, eAVSwitch, eServiceEvent
+ getDesktop, ePythonConfigQuery, eAVSwitch, eServiceEvent, \
+ eEPGCache
from tools import *
profile("LANGUAGE")
@@ -55,6 +56,9 @@ config.misc.isNextRecordTimerAfterEventActionAuto = ConfigYesNo(default=False)
config.misc.useTransponderTime = ConfigYesNo(default=True)
config.misc.startCounter = ConfigInteger(default=0) # number of e2 starts...
config.misc.standbyCounter = NoSave(ConfigInteger(default=0)) # number of standby
+config.misc.epgcache_filename = ConfigText(default = "/hdd/epg.dat")
+
+eEPGCache.getInstance().setCacheFile(config.misc.epgcache_filename.value)
#demo code for use of standby enter leave callbacks
#def leaveStandby():