recpath=/home/ftpusr/ftp3/Recording
cmdow=/pt1-tools/tstools/cmdow.exe
cmdwine=wine /pt1-tools/tstools/cmdow.exe /run /hid
+epgdump=/pt1-tools/epgdump/epgdump
gridserver_port=10910
wine=wine
epg2xmlpath=/media/ramdisk
else :
mode=chdb.bctypesearch('te'+ch)['ontv']
tsepg2xml=configreader.getpath("tsepg2xml")
+ epgdump=configreader.getpath("epgdump")
time.sleep(5)
tv2ts.tv2tsmix(pout+".ts",ch,"180")
if not os.access(pout+".ts", os.F_OK):
time.sleep(10)
tv2ts.tv2tsmix(pout+".ts",ch,"180")
exe="export LANG=ja_JP.UTF-8 && /usr/bin/nice -n 19 wine "+tsepg2xml+" "+mode+" "+pout+".ts >"+pout
+ #exe="export LANG=ja_JP.UTF-8 && /usr/bin/nice -n 19 "+epgdump+" "+mode+" "+pout+".ts "+pout
print exe
os.system(exe)
os.system(pas2exe)
else:
pas1exe="mencoder \'"+pin+"\' -ovc x264 "+encvf+" -x264encopts "+bitrate+":threads=auto -oac mp3lame -lameopts cbr:br=128 -o \'"+pout+"\'"
+ pas1exe="/usr/bin/nice -n 19 "+pas1exe
os.system(pas1exe)
status.setEncoding(status.getEncoding()-1)
\ No newline at end of file