#録画終了後に動画を置いておくフォルダを指定するとrectool.plでリスト化できます。
recorded = /path of /recordedpath
epgdump =
-tssplitter_lite =
+tssplitter =
gridserver_port=10910
##dbの種類を決める。 db= SQLite もしくはMySQL
#
f.write(txt)
f.close()
def tsmix2ts(pin, pout, csch):#csch=0ならcsの処理をしない
- if csch == "0":
- time.sleep(1)
- shutil.move(pin, pout)
- else:
- doexe = configreader.getpath("tssplitter_lite") + " \"" + pin + "\" \"" + pout + "\" " + str(csch)
- doexe = "nice -n 18 " + doexe
- print doexe
- sys.stdout.flush()
- os.system(doexe)
- time.sleep(1)
- if os.access(pout, os.F_OK):
- os.remove(pin)
+ doexe = configreader.getpath("tssplitter") + " \"" + pin + "\" \"" + pout + "\" " + str(csch)
+ doexe = "nice -n 18 " + doexe
+ print doexe
+ sys.stdout.flush()
+ os.system(doexe)
+ time.sleep(1)
+ if os.access(pout, os.F_OK):
+ os.remove(pin)