OSDN Git Service

implement mysql function.(RC1)
[rec10/rec10-git.git] / rec10 / trunk / src / tester.py
1 #!/usr/bin/python
2 # coding: UTF-8
3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
5 #import sys
6 #import os
7 import chdb
8 import configreader
9 import xml2db
10 import os
11 import rec10d
12 import checker
13 import time
14 import epgdb
15 __author__="yukikaze"
16 __date__ ="$2009/08/01 22:25:13$"
17 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
18 recpath="/home/ftpusr/ftp3/Recording/"
19 if __name__ == "__main__":
20     #d=time.time()#
21     #tspath=basepath.replace(".b25","")
22     #print checker.checkB25Decode(recpath+basepath,recpath+tspath)
23     #print configreader.getdbpath("test")
24     epgdb.updateall_bak()
25     #import rectime data from SQLite to MySQL
26     #rec10d.rec10db.import_from_SQLite(path+"ch.db")
27