annotate config.php.sample @ 80:cce6f88590fd

add: db table updater script.
author Sushi-k <epgrec@park.mda.or.jp>
date Thu, 25 Feb 2010 17:09:36 +0900
parents cb7da56c4198
children 549d799d73ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <?php
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
3 // settings/gr_channel.phpが作成された場合、
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
4 // config.php内の$GR_CHANNEL_MAPは無視されます
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
5
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 // 首都圏用地上デジタルチャンネルマップ
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 // 識別子 => チャンネル番号
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8 $GR_CHANNEL_MAP = array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9 "GR27" => "27", // NHK
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
10 "GR26" => "26", // 教育
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11 "GR25" => "25", // 日テレ
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
12 "GR22" => "22", // 東京
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
13 "GR21" => "21", // フジ
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
14 "GR24" => "24", // テレ朝
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
15 "GR23" => "23", // テレ東
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
16 // "GR20" => "20", // MX TV
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
17 // "GR18" => "18", // テレ神
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
18 "GR30" => "30", // 千葉
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
19 // "GR32" => "32", // テレ玉
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
20 "GR28" => "28", // 大学
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
21 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
22
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
23 /*
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
24 // 大阪地区デジタルチャンネルマップ(参考)
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
25 $GR_CHANNEL_MAP = array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
26 "GR24" => "24", // NHK
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
27 "GR13" => "13", // 教育
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
28 "GR16" => "16", // 毎日
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
29 "GR15" => "15", // 朝日
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
30 "GR17" => "17", // 関西
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
31 "GR14" => "14", // 読売
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
32 "GR18" => "18", // テレビ大阪
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
33 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
34 */
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
35
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
36
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
37 // 録画モード(option)
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
38
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
39 $RECORD_MODE = array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
40 // ※ 0は必須で、変更不可です。
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
41 0 => array(
3
e7f8532f3483 modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
42 'name' => 'Full TS', // モードの表示名
e7f8532f3483 modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 1
diff changeset
43 'suffix' => '.ts', // ファイル名のサフィックス
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
44 ),
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
45
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
46 1 => array(
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
47 'name' => 'Minimum TS', // 最小のTS
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
48 'suffix' => '_tss.ts', // do-record.shのカスタマイズが必要
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
49 ),
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
50
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
51 /* Example is as follows.
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
52 2 => array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
53 'name' => '12Mbps MPEG4',
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
54 'suffix' => '.avi',
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
55 ),
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
56 */
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
57 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
58
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
59 // 以下、USE_KUROBON以外の定数は設定不要になりました
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
60
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents: 19
diff changeset
61 define( "INSTALL_PATH", dirname(__FILE__) ); // インストールパス
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
62 define( "USE_KUROBON", false ); // BSチューナーとしてFriio BS/CSを使うならtrue
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
63
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
64 // 以降は必要に応じて変更する
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
65
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
66 define( "PADDING_TIME", 180 ); // 詰め物時間
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
67 define( "DO_RECORD", INSTALL_PATH . "/do-record.sh" ); // レコードスクリプト
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
68 define( "COMPLETE_CMD", INSTALL_PATH . "/recomplete.php" ); // 録画終了コマンド
47
a701aaf6d216 add: gen-thumbnail.sh
Sushi-k <epgrec@park.mda.or.jp>
parents: 46
diff changeset
69 define( "GEN_THUMBNAIL", INSTALL_PATH . "/gen-thumbnail.sh" ); // サムネール生成スクリプト
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
70
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
71
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
72 // 地上デジタルチャンネルテーブルsettings/gr_channel.phpが存在するならそれを
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
73 // 優先する
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
74 if( file_exists( INSTALL_PATH."/settings/gr_channel.php" ) ) {
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
75 unset($GR_CHANNEL_MAP);
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
76 include_once( INSTALL_PATH."/settings/gr_channel.php" );
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
77 }
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
78
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
79
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
80 // 全国用BSデジタルチャンネルマップ
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
81 $BS_CHANNEL_MAP = array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
82 "3001.ontvjapan.com" => "101",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
83 "3002.ontvjapan.com" => "102",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
84 "3003.ontvjapan.com" => "103",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
85 "3004.ontvjapan.com" => "141",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
86 "3005.ontvjapan.com" => "151",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
87 "3006.ontvjapan.com" => "161",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
88 "3007.ontvjapan.com" => "171",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
89 "3008.ontvjapan.com" => "181",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
90 "3009.ontvjapan.com" => "191",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
91 "3010.ontvjapan.com" => "192",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
92 "3011.ontvjapan.com" => "193",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
93 "3013.ontvjapan.com" => "211",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
94 "3014.ontvjapan.com" => "222",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
95 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
96
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
97 if( USE_KUROBON ) {
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
98 $BS_CHANNEL_MAP = array(
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
99 "3001.ontvjapan.com" => "B10",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
100 "3002.ontvjapan.com" => "B10",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
101 "3003.ontvjapan.com" => "B11",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
102 "3004.ontvjapan.com" => "B8",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
103 "3005.ontvjapan.com" => "B1",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
104 "3006.ontvjapan.com" => "B2",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
105 "3007.ontvjapan.com" => "B4",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
106 "3008.ontvjapan.com" => "B9",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
107 "3009.ontvjapan.com" => "B3",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
108 "3010.ontvjapan.com" => "B3",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
109 "3011.ontvjapan.com" => "B3",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
110 "3013.ontvjapan.com" => "B5",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
111 "3014.ontvjapan.com" => "B7",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
112 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
113 }
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
114
68
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
115 // 全国用CSデジタルチャンネルマップ
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
116 $CS_CHANNEL_MAP = array(
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
117 "1002.ontvjapan.com" => "CS2", // 237, // "スターchプラス"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
118 "1086.ontvjapan.com" => "CS2", // 239, // "日本映画専門chHD"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
119 "306ch.epgdata.ontvjapan" => "CS2", // 306, // "フジテレビCSHD"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
120
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
121 "100ch.epgdata.ontvjapan" => "CS4", // 100, // "e2プロモ"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
122 "1025.ontvjapan.com" => "CS4", // 256, // "Jスポーツ ESPN"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
123 "1016.ontvjapan.com" => "CS4", // 312, // "FOX"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
124 "1018.ontvjapan.com" => "CS4", // 322, // "スペースシャワーTV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
125 "1046.ontvjapan.com" => "CS4", // 331, // "カートゥーン ネット"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
126 "194ch.epgdata.ontvjapan" => "CS4", // 194, // "インターローカルTV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
127 "1213.ontvjapan.com" => "CS4", // 334, // "トゥーン・ディズニー"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
128
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
129 "1010.ontvjapan.com" => "CS6", // 221, // "東映チャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
130 "1005.ontvjapan.com" => "CS6", // 222, // "衛星劇場"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
131 "1008.ontvjapan.com" => "CS6", // 223, // "チャンネルNECO"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
132 "1009.ontvjapan.com" => "CS6", // 224, // "洋画★シネフィル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
133 "1133.ontvjapan.com" => "CS6", // 292, // "時代劇専門チャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
134 "1003.ontvjapan.com" => "CS6", // 238, // "スター・クラシック"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
135 "1006.ontvjapan.com" => "CS6", // 310, // "スーパードラマ"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
136 "1014.ontvjapan.com" => "CS6", // 311, // "AXN"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
137 "1204.ontvjapan.com" => "CS6", // 343, // "ナショジオチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
138
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
139 "1059.ontvjapan.com" => "CS8", // 55, // "ショップチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
140
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
141 "1217.ontvjapan.com" => "CS10", // 228, // "ザ・シネマ"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
142 "800ch.epgdata.ontvjapan" => "CS10", // 800, // "スカチャンHD800"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
143 "801ch.epgdata.ontvjapan" => "CS10", // 801, // "スカチャン801"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
144 "802ch.epgdata.ontvjapan" => "CS10", // 802, // "スカチャン802"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
145
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
146 "1028.ontvjapan.com" => "CS12", // 260, // "ゴルフチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
147 "1092.ontvjapan.com" => "CS12", // 303, // "テレ朝チャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
148 "1019.ontvjapan.com" => "CS12", // 323, // "MTV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
149 "1024.ontvjapan.com" => "CS12", // 324, // "ミュージック・エア"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
150 "1067.ontvjapan.com" => "CS12", // 352, // "朝日ニュースター"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
151 "1070.ontvjapan.com" => "CS12", // 353, // "BBCワールド"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
152 "1069.ontvjapan.com" => "CS12", // 354, // "CNNj"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
153 "361ch.epgdata.ontvjapan" => "CS12", // 361, // "ジャスト・アイ"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
154
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
155 "1041.ontvjapan.com" => "CS14", // 251, // "Jスポーツ 1"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
156 "1042.ontvjapan.com" => "CS14", // 252, // "Jスポーツ 2"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
157 "1043.ontvjapan.com" => "CS14", // 253, // "JスポーツPlusH"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
158 "1026.ontvjapan.com" => "CS14", // 254, // "GAORA"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
159 "1040.ontvjapan.com" => "CS14", // 255, // "sky・Aスポーツ+"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
160
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
161 "305ch.epgdata.ontvjapan" => "CS16", // 305, // "チャンネル銀河"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
162 "1201.ontvjapan.com" => "CS16", // 333, // "AT-X"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
163 "1050.ontvjapan.com" => "CS16", // 342, // "ヒストリーチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
164 "803ch.epgdata.ontvjapan" => "CS16", // 803, // "スカチャン803"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
165 "804ch.epgdata.ontvjapan" => "CS16", // 804, // "スカチャン804"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
166 "1207.ontvjapan.com" => "CS16", // 290, // "SKY・STAGE"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
167
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
168 "1007.ontvjapan.com" => "CS18", // 240, // "ムービープラスHD"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
169 "1027.ontvjapan.com" => "CS18", // 262, // "ゴルフネットワーク"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
170 "1074.ontvjapan.com" => "CS18", // 314, // "LaLa HD"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
171
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
172 "1073.ontvjapan.com" => "CS20", // 258, // "フジテレビ739"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
173 "1072.ontvjapan.com" => "CS20", // 302, // "フジテレビ721"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
174 "1047.ontvjapan.com" => "CS20", // 332, // "アニマックス"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
175 "1062.ontvjapan.com" => "CS20", // 340, // "ディスカバリー"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
176 "1193.ontvjapan.com" => "CS20", // 341, // "アニマルプラネット"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
177
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
178 "160ch.epgdata.ontvjapan" => "CS22", // 160, // "C-TBSウエルカム"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
179 //"1120.ontvjapan.com" => "CS22", // 161, // "QVC"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
180 "185ch.epgdata.ontvjapan" => "CS22", // 185, // "プライム365.TV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
181 "1015.ontvjapan.com" => "CS22", // 293, // "ファミリー劇場"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
182 "3201.ontvjapan.com" => "CS22", // 301, // "TBSチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
183 "1090.ontvjapan.com" => "CS22", // 304, // "ディズニーチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
184 "1022.ontvjapan.com" => "CS22", // 325, // "MUSIC ON! TV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
185 "1045.ontvjapan.com" => "CS22", // 330, // "キッズステーション"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
186 "1076.ontvjapan.com" => "CS22", // 351, // "TBSニュースバード"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
187
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
188 "1068.ontvjapan.com" => "CS24", // 257, // "日テレG+"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
189 "5004.ontvjapan.com" => "CS24", // 291, // "fashion TV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
190 "300ch.epgdata.ontvjapan" => "CS24", // 300, // "日テレプラス"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
191 "1023.ontvjapan.com" => "CS24", // 320, // "エコミュージックTV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
192 "1208.ontvjapan.com" => "CS24", // 321, // "Music Japan TV"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
193 "2002.ontvjapan.com" => "CS24", // 350, // "日テレNEWS24"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
194 /*
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
195 "110ch.epgdata.ontvjapan" => "CS22", 110, // "ワンテンポータル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
196 "101ch.epgdata.ontvjapan" => "CS22", 101, // "宝塚プロモチャンネル"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
197 "147ch.epgdata.ontvjapan" => "CS22", 147, // "CS日本番組ガイド"
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
198 */
25736d81c66d modified: config.php.sample
Sushi-k <epgrec@park.mda.or.jp>
parents: 47
diff changeset
199 );
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
200
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
201 // DBテーブル情報 以下は変更しないでください
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
202
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
203 define( "RESERVE_TBL", "reserveTbl" ); // 予約テーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
204 define( "PROGRAM_TBL", "programTbl" ); // 番組表
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
205 define( "CHANNEL_TBL", "channelTbl" ); // チャンネルテーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
206 define( "CATEGORY_TBL", "categoryTbl" ); // カテゴリテーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
207 define( "KEYWORD_TBL", "keywordTbl" ); // キーワードテーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
208
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
209 // 予約テーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
210 define( "RESERVE_STRUCT",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
211 "id integer not null auto_increment primary key,". // ID
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
212 "channel_disc varchar(128) not null default 'none',". // channel disc
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
213 "channel_id integer not null default '0',". // channel ID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
214 "program_id integer not null default '0',". // Program ID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
215 "type varchar(8) not null default 'GR',". // 種別(GR/BS/CS)
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
216 "channel varchar(10) not null default '0',". // チャンネル
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
217 "title varchar(512) not null default 'none',". // タイトル
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
218 "description varchar(512) not null default 'none',". // 説明 text->varchar
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
219 "category_id integer not null default '0',". // カテゴリID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
220 "starttime datetime not null default '1970-01-01 00:00:00',". // 開始時刻
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
221 "endtime datetime not null default '1970-01-01 00:00:00',". // 終了時刻
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
222 "job integer not null default '0',". // job番号
19
9648e3af1777 change: field type ( title, path )
Sushi-k <epgrec@park.mda.or.jp>
parents: 11
diff changeset
223 "path blob default null,". // 録画ファイルパス
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
224 "complete boolean not null default '0',". // 完了フラグ
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
225 "reserve_disc varchar(128) not null default 'none',". // 識別用hash
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
226 "autorec integer not null default '0',". // キーワードID
77
cb7da56c4198 modified: Keyword.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 76
diff changeset
227 "mode integer not null default '0',". //録画モード
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
228 "index reserve_ch_idx (channel_disc),". // インデックス
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
229 "index reserve_st_idx (starttime)".
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
230 ""
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
231 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
232
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
233
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
234 // 番組表テーブル
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
235 define( "PROGRAM_STRUCT",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
236 "id integer not null auto_increment primary key,". // ID
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
237 "channel_disc varchar(128) not null default 'none',". // channel disc
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
238 "channel_id integer not null default '0',". // channel ID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
239 "type varchar(8) not null default 'GR',". // 種別(GR/BS/CS)
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
240 "channel varchar(10) not null default '0',". // チャンネル
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
241 "title varchar(512) not null default 'none',". // タイトル
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
242 "description varchar(512) not null default 'none',". // 説明 text->varchar
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
243 "category_id integer not null default '0',". // カテゴリID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
244 "starttime datetime not null default '1970-01-01 00:00:00',". // 開始時刻
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
245 "endtime datetime not null default '1970-01-01 00:00:00',". // 終了時刻
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
246 "program_disc varchar(128) not null default 'none',". // 識別用hash
77
cb7da56c4198 modified: Keyword.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 76
diff changeset
247 "autorec boolean not null default '1',". // 自動録画有効無効
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
248 "index program_ch_idx (channel_disc),". // インデックス
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
249 "index program_st_idx (starttime)".
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
250 ""
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
251 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
252
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
253
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
254 define( "CHANNEL_STRUCT",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
255 "id integer not null auto_increment primary key,". // ID
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
256 "type varchar(8) not null default 'GR',". // 種別
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
257 "channel varchar(10) not null default '0',". // channel
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
258 "name varchar(512) not null default 'none',". // 表示名
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
259 "channel_disc varchar(128) not null default 'none',". // 識別用hash
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
260 "sid varchar(64) not null default 'hd'" // サービスID用02/23/2010追加
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
261 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
262
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
263 define( "CATEGORY_STRUCT",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
264 "id integer not null auto_increment primary key,". // ID
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
265 "name_jp varchar(512) not null default 'none',". // 表示名
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
266 "name_en varchar(512) not null default 'none',". // 同上
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
267 "category_disc varchar(128) not null default 'none'" // 識別用hash
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
268 );
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
269
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
270
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
271 define( "KEYWORD_STRUCT",
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
272 "id integer not null auto_increment primary key,". // ID
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
273 "keyword varchar(512) not null default '*',". // 表示名
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
274 "type varchar(8) not null default '*',". // 種別
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
275 "channel_id integer not null default '0',". // channel ID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
276 "category_id integer not null default '0',". // カテゴリID
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
277 "use_regexp boolean not null default '0',". // 正規表現を使用するなら1
77
cb7da56c4198 modified: Keyword.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 76
diff changeset
278 "autorec_mode integer not null default '0',". // 自動録画のモード02/23/2010追加
80
cce6f88590fd add: db table updater script.
Sushi-k <epgrec@park.mda.or.jp>
parents: 77
diff changeset
279 "weekofday enum ('0','1','2','3','4','5','6','7' ) default '7'" // 曜日、同追加
1
f5a9f0eb4858 deleted: LICENSE.ja
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
280 );
76
69e0dabc765a fixed: Reservation.class.php
Sushi-k <epgrec@park.mda.or.jp>
parents: 68
diff changeset
281 ?>