[crossepg] r297 committed - Changed epgcache_filename path. Now epg.dat it's saved on device root ...

24 views
Skip to first unread message

cros...@googlecode.com

unread,
May 15, 2011, 9:18:18 AM5/15/11
to cros...@googlegroups.com
Revision: 297
Author: san...@skanetwork.com
Date: Sun May 15 06:17:40 2011
Log: Changed epgcache_filename path. Now epg.dat it's saved on device
root path (and not inside crossepg folder)
http://code.google.com/p/crossepg/source/detail?r=297

Modified:
/trunk/src/enigma2/python/crossepg_setup.py

=======================================
--- /trunk/src/enigma2/python/crossepg_setup.py Sun Apr 24 12:54:57 2011
+++ /trunk/src/enigma2/python/crossepg_setup.py Sun May 15 06:17:40 2011
@@ -292,7 +292,10 @@
self.config.configured = 1
self.config.save()
try:
- config.misc.epgcache_filename.setValue(self.config.db_root + "/epg.dat")
+ if self.config.db_root[-8:] == "crossepg":
+ config.misc.epgcache_filename.setValue(self.config.db_root[:-9]
+ "/epg.dat")
+ else:
+ config.misc.epgcache_filename.setValue(self.config.db_root
+ "/epg.dat")
config.misc.epgcache_filename.callNotifiersOnSaveAndCancel = True
config.misc.epgcache_filename.save()
configfile.save()

Reply all
Reply to author
Forward
0 new messages