From 27565cb443b21324903666caad75c701f8ee9f51 Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Tue, 31 Jan 2012 00:13:08 +0000 Subject: [PATCH] modify tune software and recording script. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@905 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/recording_earth_pt1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rec10/trunk/src/recording_earth_pt1.py b/rec10/trunk/src/recording_earth_pt1.py index 57df045..4699aee 100644 --- a/rec10/trunk/src/recording_earth_pt1.py +++ b/rec10/trunk/src/recording_earth_pt1.py @@ -70,7 +70,7 @@ def getActiveAdapter(channel): rt=testTune(str(i),channel) if rt==1: return str(i) -def record(channel,tsid,out,timelength,decode=1): +def record(channel,tsid,out,timelength,decode=0): if not os.path.exists(tmppath+u"rec.sh"): ft=open(tmppath+u"rec.sh","w") ft.write(u"#!/bin/bash\n/bin/cat $1 > \"$2\"") @@ -83,7 +83,7 @@ def record(channel,tsid,out,timelength,decode=1): #reccmd=u"/bin/cat \""+configreader.getConfDVB("DVBadapter")+adapt+u"/dvr0\" > \""+out+u"\"" #if decode==1: # reccmd=configreader.getConfPath("b25")+u" -v 0 \""+configreader.getConfDVB("DVBadapter")+adapt+u"/dvr0\" \""+out+"\"" - recdblist.addLog(out, tunecmd+"\n"+reccmd, "record(DVB)",100) + recdblist.addLog(out, tunecmd, "record(DVB)",100) p1=subprocess.Popen([configreader.getConfDVB("DVBtune"),adapt,channel2freq(channel),tsid,timelength,out],env=my_env) #time.sleep(0.2) #if decode==1: -- 2.11.0