3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
5 #import sys # モジュール属性 argv を取得するため
15 tsを取得してepgの入ったxmlとして書き出す
18 bctype=chdb.chsearch(ch)['bctype']
21 if re.search('cs',bctype):
24 elif re.search('bs',bctype):
28 mode=chdb.bctypesearch('te'+ch)['ontv']
29 tsepg2xml=configreader.getpath("tsepg2xml")
30 tv2ts.tv2tsmix(pout+".ts",ch,"180")
31 exe="export LANG=ja_JP.UTF-8 && /usr/bin/nice -n 19 wine "+tsepg2xml+" "+mode+" "+pout+".ts >"+pout