OSDN Git Service

implement mysql function.(RC1)
[rec10/rec10-git.git] / rec10 / trunk / src / tester.py
index 5b87ca0..f30b2d5 100644 (file)
@@ -5,13 +5,23 @@
 #import sys
 #import os
 import chdb
+import configreader
 import xml2db
 import os
 import rec10d
+import checker
+import time
+import epgdb
 __author__="yukikaze"
 __date__ ="$2009/08/01 22:25:13$"
 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
+recpath="/home/ftpusr/ftp3/Recording/"
 if __name__ == "__main__":
-    xml2db.xml2db(path+"cs1epgdate.xml", path+"ch.db","cs1")
-    #rec10d.rec10db.update_by_bctype_chdata(u'cs')
+    #d=time.time()#
+    #tspath=basepath.replace(".b25","")
+    #print checker.checkB25Decode(recpath+basepath,recpath+tspath)
+    #print configreader.getdbpath("test")
+    epgdb.updateall_bak()
+    #import rectime data from SQLite to MySQL
+    #rec10d.rec10db.import_from_SQLite(path+"ch.db")
     
\ No newline at end of file