#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__":
- d=time.time()
- xml2db.xml2db(path+"cs1epgdate.bak.xml","cs1")
- print time.time()-d
- #rec10d.rec10db.update_by_bctype_chdata(u'cs')
- #basepath="ぱにぽにだっしゅ! #11.ts.b25"
+ #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