#topicpath

*foltia関連 [#mc407fc7]

[[PT2>Computer/Linux/PT2]]のページもご一緒にどうぞ。

#contents

**インストール [#sd8ef023]

先に必要なパッケージとか。

 $ sudo apt-get install wine mplayer imagemagick subversion git-core yasm sqlite3 postgresql php5 php5-sqlite gpac

gpac普通にapt-getから入るのでそれで。

 $ sudo cpan -i YAML Time::HiRes Schedule::At Jcode
 $ sudo cpan -i DBI DBD::SQLite LWP::Simple Time::Local Text::Kakasi Date::Manip

 # useradd foltia

 $ sudo vim /etc/apache2/apache2.conf
 $ sudo vim /etc/apache2/sites-available/default

このへんからfoltiaユーザで実行する。

 $ svn co http://svn.dcc-jpl.com/foltia/trunk foltia

2011年9月8日現在、リビジョン136が降ってくる。
できあがったfoltiaの中にあるinstallというディレクトリの中身を、/home/foltiaに配置。

 $ sqlite3 /home/foltia/foltia.sqlite < mktable.sqlite.txt

これでテーブルができたはず。

 $ cd ~/perl
 $ cp foltia_conf1.pl.template foltia_conf1.pl 
 $ cd ~/php
 $ cp foltia_config2.php.template foltia_config2.php

これでとりあえず起動はする。わーい。

この辺からperlのスクリプト群を使い出すが、その前にperl配下のスクリプトから以下の1行をコメントアウトする。これが大変めんどくさいのでなんとかしてほしい。

 use DBD::Pg;


 $ /home/foltia/perl/getxml2db.pl long 

しょぼかるからの初回データ取得。


**参考リンク [#lc08de48]

***公式系 [#cd72977a]

-アニメ自動録画システム foltia
--http://www.dcc-jpl.com/soft/foltia/
-foltia manual
--http://svn.dcc-jpl.com/foltia/trunk/doc/index.html

***インストールなど [#s287149c]

-foltia - SQLite対応へ :宗子時空
--http://www.dcc-jpl.com/diary/2010/02/28/foltia_sqlite/


-64bit版Ubuntu10.04にPT2とFoltiaHDを入れてiPhoneでアニメを見ながら通勤する http://txqz.net/blog/2010/07/19/2246
-foltiaがrecpt1を多重起動することがあったりしたので対応など
--http://txqz.net/blog/2011/03/20/2048
-CentOS5.4にPT2、foltia HDをインストールする - あっち行ったり、こっち来たり。
--http://d.hatena.ne.jp/shiwork/20091207/1260200448
-XMLTV の導入 - オモイノホカ日々徒然 ※注:うまくいってない
--http://www17.ocn.ne.jp/~tuzre/item/id00000120p00.html
-foltia_sch_upload - id:yuaaaのにっき ※注:うまくいってない
--http://d.hatena.ne.jp/yuaaa/20100501/foltia_sch_upload




**チャンネル表 [#ca0c01d9]

※江戸川ケーブルテレビの場合です。リモコンNoは参考。

-地上デジタル放送&#160;チャンネル一覧表&#160;関東エリア:マスプロ電工 http://www.maspro.co.jp/contact/bro/kantou.html

|リモコンNo|物理ch|局名|h
|3|17|チバテレビ|
|3|18|tvk|
|3|19|テレ玉|
|9|20|TOKYO MX|
|8|21|フジテレビ|
|6|22|TBS|
|7|23|テレビ東京|
|5|24|テレビ朝日|
|4|25|日テレ|
|2|26|NHK教育|
|1|27|NHK総合|
|12|28|放送大学|
|-|37|J:COMチャンネル|

***foltiaのチャンネル変更方法 [#mdb11191]

 sqlite> select * from foltia_station where digitalch = '20';
 14|TOKYO MX|14|MX|||||0016.ontvjapan.com|20|0
 sqlite>
 sqlite> select * from foltia_station where digitalch = '30';
 46|&#65533;&#65533;Х&#421;&#65533;&#65533;|-10|CTC||||||30|0
 sqlite> update foltia_station set digitalch = '17' where stationid = '46';
 sqlite>
 sqlite> select * from foltia_station where digitalch = '30';
 sqlite> select * from foltia_station where stationid = 46;
 46|&#65533;&#65533;Х&#421;&#65533;&#65533;|-10|CTC||||||17|0
 sqlite>
 sqlite> select * from foltia_station where stationid = 42;
 42|tvk|42|TVK|||||0009.ontvjapan.com|18|0
 sqlite> update foltia_station set digitalch = '18' where stationid = '42';
 sqlite> select * from foltia_station where stationid = 42;
 42|tvk|42|TVK|||||0009.ontvjapan.com|18|0
 sqlite>
 sqlite>
 sqlite> select * from foltia_station where digitalch = '32';
 38|&#65533;&#421;&#65533;&#65533;|-10|TVS||||||32|0
 sqlite> update foltia_station set digitalch = '19' where stationid = '38';
 sqlite> select * from foltia_station where stationid = 38;
 38|&#65533;&#421;&#65533;&#65533;|-10|TVS||||||19|0
 sqlite>
 sqlite>


リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS