###########################################
# Rec10 for PT1 #
-# Ver.0.5.0a #
-# 2009/08/01 Yukikaze #
+# Ver.0.6.0 #
+# 2009/08/15 Yukikaze #
# Copyright (C) 2009 Yukikaze #
###########################################
ライセンスは LGPL v3に準拠します(license.txt参照)
[必要コマンド]
-python(2.5にて動作確認)
+python(2.5.2にて動作確認)
xvfb-run
wine
mencoder(h.264サポートのもの)
一部のperlモジュール(watch rectool.pl)
[必要環境:外部ツール]
-TsSplitter
-BonTsDemux
-epgdump
-b25
-recpt1(recfriioでもいいはずです)
+TsSplitter_lite(included)
+BonTsDemux(included)
+epgdump(included)
+b25(non-included)
+recpt1(recfriioでもいいはずです)(non-included)
以上のソフトについては実行パスをconfig.iniに書いておいてください
その後chdate.pyのチャンネル設定部分を書き換え、chdate.pyを実行してください
yukikaze.jp@gmail.com
[History]
+09/08/15 0.6.0 release
+Lots of bug fixes.
+Implement db using MySQL.
+
09/08/01 0.5.0 release
バグフィックス
検索録画のパターンマッチングアルゴリズムの変更(推測的な検索ができるようになった)
tnow=datetime.datetime.now()
dtt=bt-tnow
dt=dtt.days*24*60*60+dtt.seconds
+
if task["type"]==recdb.REC_RESERVE:#"res,"+chtxt+","+title+","+btime+","+etime+","+opt
isUpdate=0
print dt
gettaskbscs=recdb.countRecNow_minutes_BSCS("10")
getnowbscs=status.getBSCSRecording()
bscs=getnowbscs+gettaskbscs
- if bscs <2:
+ if bscs <2 and status.getEPGUpdating()!=1:
print "now(bscs):"+str(getnowbscs)+" task(bscs):"+str(gettaskbscs)
+ status.setEPGUpdating(1)
epgdb.updatebc(chdb.chtxtsearch(chtxt)['bctype'])
time.sleep(10)
isUpdate=1
+ status.setEPGUpdating(0)
else:
isUpdate=0
if cht=="te":
gettaskte=recdb.countRecNow_minutes_TE("10")
getnowte=status.getTERecording()
- bscs=getnowte+gettaskte
- if recdb.countRecNow_minutes_TE("10")+status.getTERecording() <2:
+ te=getnowte+gettaskte
+ if te <2 and status.getEPGUpdating()!=1:
print "now(te):"+str(getnowte)+" task(te):"+str(gettaskte)
+ status.setEPGUpdating(1)
epgdb.updatebc(chdb.chtxtsearch(chtxt)['bctype'])
time.sleep(10)
+ status.setEPGUpdating(0)
isUpdate=1
else:
isUpdate=0
print "ts2epg処理"
bctype=chdb.chsearch(ch)['bctype']
print ch+":"+bctype
- timet="90"
+ timet="180"
if re.search(u'cs',bctype):
mode="/CS"
- timet="200"
+ timet="300"
elif re.search(u'bs',bctype):
mode="/BS"
- timet="150"
+ timet="300"
else :
mode=chdb.bctypesearch(u'te'+ch)['ontv']
epgdump=configreader.getpath("epgdump")