OSDN Git Service

improve some function.
[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 xml2db
9 import os
10 import rec10d
11 import checker
12 import time
13 __author__="yukikaze"
14 __date__ ="$2009/08/01 22:25:13$"
15 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
16 recpath="/home/ftpusr/ftp3/Recording/"
17 if __name__ == "__main__":
18     d=time.time()
19     #xml2db.xml2db(path+"cs1epgdate.bak.xml","cs1")
20     #print time.time()-d
21     #rec10d.rec10db.update_by_bctype_chdata(u'cs')
22     basepath="カードキャプターさくら #69.ts.b25"
23     tspath=basepath.replace(".b25","")
24     print checker.checkB25Decode(recpath+basepath,recpath+tspath)
25