#!/usr/bin/python
# coding: UTF-8
# Rec10 TS Recording Tools
#!/usr/bin/python
# coding: UTF-8
# Rec10 TS Recording Tools
ftpusr = "/home/ftpusr/ftp-tmp"
recordedpath = u"/home/ftpusr/ftp-video"
if __name__ == "__main__":
ftpusr = "/home/ftpusr/ftp-tmp"
recordedpath = u"/home/ftpusr/ftp-video"
if __name__ == "__main__":
- recque.searchRecQue(recpath)
\ No newline at end of file
+ ""
\ No newline at end of file
status.changeB25Decoding(1)\r
try:\r
try:\r
status.changeB25Decoding(1)\r
try:\r
try:\r
- ch=chtxt.split("_")[0]\r
- csch=chtxt.split("_")[1]\r
+ chs=chdb.searchCHFromChtxt(chtxt)\r
+ ch=chs['ch']\r
+ csch=chs['csch']\r
+ #print [ch,csch,chtxt]\r
except:\r
ch=0\r
csch=0\r
except:\r
ch=0\r
csch=0\r
def b252ts(pout, ch, csch):
b252tsmix(pout + ".b25", pout + ".tsmix")
tch=u"0"
def b252ts(pout, ch, csch):
b252tsmix(pout + ".b25", pout + ".tsmix")
tch=u"0"
- if ch.replace(" ","").isdigit():
+ if ch.replace(" ","").replace("CS","").isdigit():
if csch!=u"0":
tch=csch
elif ch==u"101":
if csch!=u"0":
tch=csch
elif ch==u"101":