OSDN Git Service

add tunerec logging.
[rec10/rec10-git.git] / rec10 / recording_earth_pt1.py
index ac3420f..f4f557f 100644 (file)
@@ -97,6 +97,8 @@ def record(channel,tsid,out,timelength,decode=0):
         #p2.wait()
         #os.kill(p1.pid,signal.SIGKILL)
         p1.wait()
+        logt=unicode(p1.communicate()[0], "UTF-8")
+        recdblist.addLog(out, logt, "record(DVB)-detail",100)
     else:
         recdblist.printutf8ex(u"tuner busy",100,100)
 def useDVB():