From 3534e118918876b64882f2912c8e6c1b37158b84 Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Sat, 23 Mar 2013 01:10:44 +0000 Subject: [PATCH] DVB configures added. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@954 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/readme.txt | 5 ++++- rec10/trunk/src/rec10.conf | 8 +++++++- rec10/trunk/src/recording_earth_pt1.py | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/rec10/trunk/src/readme.txt b/rec10/trunk/src/readme.txt index 72c98ce..7feec4d 100644 --- a/rec10/trunk/src/readme.txt +++ b/rec10/trunk/src/readme.txt @@ -83,6 +83,7 @@ rec10オプション一覧 動作確認のとれたディストリ +13/03/22 SVN Centos 6.4(dvb,yukikaze) 12/01/08 SVN Debian6.0 11/03/10 SVN Centos 5.5 (yukikaze) 11/03/10 0.9.9.1+a ArchLinux (yukikaze) @@ -93,7 +94,9 @@ rec10オプション一覧 [History] -12/XX/XX 0.9.10 +13/XX/XX 0.9.10 +DVB版の実装を修正 +12/XX/XX SVN add Bluray compatible option("B") ステレオ音声時のBonTsDemux仕様オプション追加("b") lameの実行パスチェックを実装 diff --git a/rec10/trunk/src/rec10.conf b/rec10/trunk/src/rec10.conf index 48a692d..ee07571 100644 --- a/rec10/trunk/src/rec10.conf +++ b/rec10/trunk/src/rec10.conf @@ -75,4 +75,10 @@ remove_ts = 0 bluray = 1 [log] verbose_level = 400#デーモンとして使う場合は変更する必要はありません。 -log_level = 900# \ No newline at end of file +log_level = 900# +[dvb] +dvbtune = /usr/local/bin/tunerec +dvbadapter = /dev/dvb/adapter +usedvb = 0 +dvbte = 1,3 +dvbbscs = 0,2 diff --git a/rec10/trunk/src/recording_earth_pt1.py b/rec10/trunk/src/recording_earth_pt1.py index 027bb5e..9fb8693 100644 --- a/rec10/trunk/src/recording_earth_pt1.py +++ b/rec10/trunk/src/recording_earth_pt1.py @@ -37,6 +37,7 @@ def testTune(adapter,channel,tsid): my_env=recdblist.getEnv() #tunecmd=configreader.getConfDVB("DVBtune")+u" "+adapter+u" "+channel2freq(channel) #p1=subprocess.Popen(tunecmd,shell=True) + recdblist.printutf8_Important([configreader.getConfDVB("DVBtune"),adapter,channel2freq(channel),tsid,"0.2","/dev/null"]) p1=subprocess.Popen([configreader.getConfDVB("DVBtune"),adapter,channel2freq(channel),tsid,"0.2","/dev/null"],env=my_env,stdout=subprocess.PIPE,stderr=subprocess.PIPE) time.sleep(0.2) try: -- 2.11.0