OSDN Git Service

implement mysql function.(RC1)
[rec10/rec10-git.git] / rec10 / trunk / src / tester.py
index ad61ffb..f30b2d5 100644 (file)
@@ -2,18 +2,26 @@
 # coding: UTF-8
 # Rec10 TS Recording Tools
 # Copyright (C) 2009 Yukikaze
+#import sys
+#import os
+import chdb
+import configreader
+import xml2db
 import os
+import rec10d
+import checker
+import time
 import epgdb
-#import ts2epg
-#import xml2db
-#import chdb
-#import tv2ts
-##import tv2avi
-import recdb
-import tv2avi
-import re
-import ts2x264
-#import datetime
+__author__="yukikaze"
+__date__ ="$2009/08/01 22:25:13$"
 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
-recordingpath="/home/ftpusr/ftp3/Recording/"
-recordedpath="/home/ftpusr/ftp3/Recorded/"
+recpath="/home/ftpusr/ftp3/Recording/"
+if __name__ == "__main__":
+    #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