OSDN Git Service

fix epg refreshing bugs.(use xml which used before with no error)
[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 __author__="yukikaze"
13 __date__ ="$2009/08/01 22:25:13$"
14 path=str(os.path.dirname(os.path.abspath(__file__)))+"/"
15 recpath="/home/ftpusr/ftp3/Recording/"
16 if __name__ == "__main__":
17     #xml2db.xml2db(path+"cs1epgdate.xml", path+"ch.db","cs1")
18     #rec10d.rec10db.update_by_bctype_chdata(u'cs')
19     basepath="ぱにぽにだっしゅ! #11.ts.b25"
20     tspath=basepath.replace(".b25","")
21     print checker.checkB25Decode(recpath+basepath,recpath+tspath)
22