OSDN Git Service

Check unparchased Channel
[rec10/rec10-git.git] / rec10 / trunk / src / tv2ts.py
index 1a410fa..ae7ca47 100644 (file)
@@ -11,7 +11,7 @@ import configreader
 import status
 import recdblist
 mypath = str(os.path.dirname(os.path.abspath(__file__))) + "/"
-def tv2tsmix(pout, ch, time):
+def tv2tsmix(pout, ch, time,getlog=0):
     tv2b25ts(pout + ".b25", ch, time)
     b252tsmix(pout + ".b25", pout)
     #if os.access(pout, os.F_OK):
@@ -109,6 +109,7 @@ def b252tsmix(pin, pout):
         txt = unicode(commands.getoutput(doexe.encode('utf-8')),'utf-8')
         recdblist.addLog(pin, doexe, u"b25ログ-コマンド")
         recdblist.addLog(pin, txt, u"b25ログ-詳細")
+        return txt
 def tsmix2ts(pin, pout, csch):#csch=0ならcsの処理をしない
     doexe = configreader.getConfPath("tssplitter") + " \""+ pin + "\" \""+ pout + "\" " + str(csch)
     doexe = "nice -n 18 " + doexe