diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-05 00:16:16 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-05 00:16:35 +0100 |
| commit | 7fd4241a1d7b8d7c36385860b24882636517473b (patch) | |
| tree | 477cc54c407aa66f6a40c330794207bfc01527c1 /mytest.py | |
| parent | 7709c1d61e799fa06a257f1d6b9c23ae205fe0c9 (diff) | |
| download | enigma2-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-x | mytest.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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(): |
