From: longinus Date: Fri, 4 Jan 2013 14:09:50 +0000 (+0000) Subject: in mode=suggest, add a queue with convert_b25_ts if asked to move after dec/rec X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=commitdiff_plain;h=182f84e4d1a8386d1292c0e0c9196dd86199bd7d in mode=suggest, add a queue with convert_b25_ts if asked to move after dec/rec (override convert_ts_mp4 -> convert_b25_ts) git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@950 4e526526-5e11-4fc0-8910-f8fd03428081 --- diff --git a/rectool/trunk/rectool.pl b/rectool/trunk/rectool.pl index d3e9ae1..ca661ee 100755 --- a/rectool/trunk/rectool.pl +++ b/rectool/trunk/rectool.pl @@ -907,6 +907,9 @@ if ( $mode eq 'change' ) { $datetime_now = $datetime_now->add( minutes => 60 ); my $end = $datetime_now->strftime( '%Y-%m-%d %H:%M:%S' ); + # 録画後/解読後移動ならば、解読予約にオーバーライドする + $sql_type = 'convert_b25_ts' if ( $opt =~ /R|D/ ); + $dbh->do( "INSERT INTO timeline ( type, chtxt, title, btime, etime, opt ) VALUES ( '$sql_type', '$chtxt', '$title', '$begin', '$end', '$opt' )"