view config.php.sample @ 130:290a05fd7331

mod: 半角英数で検索しても全角英数がヒットするように変更
author Sushi-k <epgrec@park.mda.or.jp>
date Thu, 18 Mar 2010 17:50:01 +0900
parents f854f6606fa5
children 6754b6aa50cf
line wrap: on
line source

<?php

// settings/gr_channel.php篏翫
// config.php$GR_CHANNEL_MAP∴障

// 薤遵遺吾帥c潟
// 茘ュ => c潟
$GR_CHANNEL_MAP = array(
	"GR27" => "27",		// NHK
	"GR26" => "26",		// 
	"GR25" => "25",		// ャ
	"GR22" => "22",		// 延根
	"GR21" => "21",		// 
	"GR24" => "24",		// 
	"GR23" => "23",		// 
//	"GR20" => "20",		// MX TV
//	"GR18" => "18",		// 腑
	"GR30" => "30",		// 
//	"GR32" => "32",		// 
	"GR28" => "28",		// 紊у
);

/*
// 紊ч医冴吾帥c潟鐚鐚
$GR_CHANNEL_MAP = array(
	"GR24" => "24",		// NHK
	"GR13" => "13",		// 
	"GR16" => "16",		// 罸
	"GR15" => "15",		// 
	"GR17" => "17",		// ∵タ
	"GR14" => "14",		// 茯紕
	"GR18" => "18",		// 紊ч
);
*/


// 牙祉≪若鐚option鐚

$RECORD_MODE = array(
	//  0綽с紊岩с
	0 => array(
		'name' => 'Full TS',	// ≪若茵腓阪
		'suffix' => '.ts',	// <ゃ泣c
	),
	
	1 => array(
		'name' => 'Minimum TS',	// 絨TS
		'suffix' => '_tss.ts',	// do-record.sh鴻帥ゃ冴綽荀
	),
	
	/* Example is as follows.
	2 => array(
		'name' => '12Mbps MPEG4',
		'suffix' => '.avi',
	),
	*/
);


// BSャ若若藥Friio筝falsetrue紊

define( "USE_KUROBON", false );



//////////////////////////////////////////////////////////////////////////////
// 篁ラ紊違糸違祉翫紊眼綽荀障


define( "INSTALL_PATH", dirname(__FILE__) );		// ゃ潟鴻若

// 篁ラ綽荀綽紊眼

define( "PADDING_TIME", 180 );						// 荅違
define( "DO_RECORD", INSTALL_PATH . "/do-record.sh" );		// 潟若鴻
define( "COMPLETE_CMD", INSTALL_PATH . "/recomplete.php" );	// 牙紫篋潟潟
define( "GEN_THUMBNAIL", INSTALL_PATH . "/gen-thumbnail.sh" );	// 泣若鴻

// BS/CSEPG緇c潟
// 絽吾紊綽荀障
// BSepgdump紫純<翫篆∞倶c潟紊
// 劫障

define( "BS_EPG_CHANNEL",  "211"  );	// BS
define( "CS1_EPG_CHANNEL", "CS8"  );	// CS1
define( "CS2_EPG_CHANNEL", "CS24" );	// CS2


// 遺吾帥c潟若settings/gr_channel.php絖
// 
if( file_exists( INSTALL_PATH."/settings/gr_channel.php" ) ) {
	unset($GR_CHANNEL_MAP);
	include_once( INSTALL_PATH."/settings/gr_channel.php" );
}


// 順BS吾帥c潟
$BS_CHANNEL_MAP = array(
        "3001.ontvjapan.com" => "101",
        "3002.ontvjapan.com" => "102",
        "3003.ontvjapan.com" => "103",
        "3004.ontvjapan.com" => "141",
        "3005.ontvjapan.com" => "151",
        "3006.ontvjapan.com" => "161",
        "3007.ontvjapan.com" => "171",
        "3008.ontvjapan.com" => "181",
        "3009.ontvjapan.com" => "191",
        "3010.ontvjapan.com" => "192",
        "3011.ontvjapan.com" => "193",
        "3013.ontvjapan.com" => "211",
        "3014.ontvjapan.com" => "222",
);

if( USE_KUROBON ) {
	$BS_CHANNEL_MAP = array(
    	    "3001.ontvjapan.com" => "B10",
	        "3002.ontvjapan.com" => "B10",
	        "3003.ontvjapan.com" => "B11",
	        "3004.ontvjapan.com" => "B8",
	        "3005.ontvjapan.com" => "B1",
	        "3006.ontvjapan.com" => "B2",
	        "3007.ontvjapan.com" => "B4",
	        "3008.ontvjapan.com" => "B9",
	        "3009.ontvjapan.com" => "B3",
	        "3010.ontvjapan.com" => "B3",
	        "3011.ontvjapan.com" => "B3",
	        "3013.ontvjapan.com" => "B5",
	        "3014.ontvjapan.com" => "B7",
	);
}

// 順CS吾帥c潟
$CS_CHANNEL_MAP = array(
	"1002.ontvjapan.com"		=>	"CS2", // 237,	//	"鴻帥種鐔"
	"1086.ontvjapan.com"		=>	"CS2", // 239,	// "ユ糸鐔鐔鐚鐚"
	"306ch.epgdata.ontvjapan"	=>	"CS2", // 306,	// "吾鐚o竺鐚鐚"

	"100ch.epgdata.ontvjapan"	=>	"CS4", // 100,	// "鐔鐚"
	"1025.ontvjapan.com"		=>	"CS4", // 256,	// "鐚鴻若鐚ワ竺鐚逸汐"
	"1016.ontvjapan.com"		=>	"CS4", // 312,	// "鐚鐚鐚"
	"1018.ontvjapan.com"		=>	"CS4", // 322,	// "鴻若鴻激c種軸鐚"
	"1046.ontvjapan.com"		=>	"CS4", // 331,	// "若ャ若潟"
	"194ch.epgdata.ontvjapan"	=>	"CS4", // 194,	// "ゃ潟帥若若鐚器雫"
	"1213.ontvjapan.com"		=>	"CS4", // 334,	// "ャ若潟祉c冴"

	"1010.ontvjapan.com"		=>	"CS6", // 221,	// "掩c潟"
	"1005.ontvjapan.com"		=>	"CS6", // 222,	// "茵"
	"1008.ontvjapan.com"		=>	"CS6", // 223,	// "c潟鐚鐚ワ治鐚"
	"1009.ontvjapan.com"		=>	"CS6", // 224,	// "羇獅激c"
	"1133.ontvjapan.com"		=>	"CS6", // 292,	// "篁e絨c潟"
	"1003.ontvjapan.com"		=>	"CS6", // 238,	// "鴻帥若祉激"
	"1006.ontvjapan.com"		=>	"CS6", // 310,	// "鴻若若"
	"1014.ontvjapan.com"		=>	"CS6", // 311,	// "鐚¥叱鐚"
	"1204.ontvjapan.com"		=>	"CS6", // 343,	// "激с吾c潟"

	"1059.ontvjapan.com"		=>	"CS8", // 55,	//  "激сc潟"

	"1217.ontvjapan.com"		=>	"CS10", // 228,	// "吟祉激"
	"800ch.epgdata.ontvjapan"	=>	"CS10", // 800,	// "鴻c鰹示鐚わ鐚鐚"
	"801ch.epgdata.ontvjapan"	=>	"CS10", // 801,	// "鴻c鰹鐚鐚"
	"802ch.epgdata.ontvjapan"	=>	"CS10", // 802,	// "鴻c鰹鐚鐚"

	"1028.ontvjapan.com"		=>	"CS12", // 260,	// "眼c潟"
	"1092.ontvjapan.com"		=>	"CS12", // 303,	// "c潟"
	"1019.ontvjapan.com"		=>	"CS12", // 323,	// "鐚鐚器雫"
	"1024.ontvjapan.com"		=>	"CS12", // 324,	// "ャ若吾祉"
	"1067.ontvjapan.com"		=>	"CS12", // 352,	// "ャャ若鴻帥"
	"1070.ontvjapan.com"		=>	"CS12", // 353,	// "鐚鐚鐚c若"
	"1069.ontvjapan.com"		=>	"CS12", // 354,	// "鐚o汐鐚鐔"
	"361ch.epgdata.ontvjapan"	=>	"CS12", // 361,	// "吾c鴻祉≪"

	"1041.ontvjapan.com"		=>	"CS14", // 251,	// "鐚鴻若鐚"
	"1042.ontvjapan.com"		=>	"CS14", // 252,	// "鐚鴻若鐚"
	"1043.ontvjapan.com"		=>	"CS14", // 253,	// "鐚鴻若鐚逸鐔鐔鐚"
	"1026.ontvjapan.com"		=>	"CS14", // 254,	// "鐚э次鐚鐚駕次"
	"1040.ontvjapan.com"		=>	"CS14", // 255,	// "鐔鐔鐔誌次鴻若鐚"

	"305ch.epgdata.ontvjapan"	=>	"CS16", // 305,	// "c潟羃"
	"1201.ontvjapan.com"		=>	"CS16", // 333,	// "鐚¥軸-鐚"
	"1050.ontvjapan.com"		=>	"CS16", // 342,	// "鴻若c潟"
	"803ch.epgdata.ontvjapan"	=>	"CS16", // 803,	// "鴻c鰹鐚鐚"
	"804ch.epgdata.ontvjapan"	=>	"CS16", // 804,	// "鴻c鰹鐚鐚"
	"1207.ontvjapan.com"		=>	"CS16", // 290,	// "鐚鰹自鐚鴻誌竺鐚器次鐚э璽"

	"1007.ontvjapan.com"		=>	"CS18", // 240,	// "若若刻示鐚"
	"1027.ontvjapan.com"		=>	"CS18", // 262,	// "眼若"
	"1074.ontvjapan.com"		=>	"CS18", // 314,	// "鐚鐔鐚鐔鐚鐚"

	"1073.ontvjapan.com"		=>	"CS20", // 258,	// "吾鐚鐚鐚"
	"1072.ontvjapan.com"		=>	"CS20", // 302,	// "吾鐚鐚鐚"
	"1047.ontvjapan.com"		=>	"CS20", // 332,	// "≪"
	"1062.ontvjapan.com"		=>	"CS20", // 340,	// "c鴻"
	"1193.ontvjapan.com"		=>	"CS20", // 341,	// "≪"

	"160ch.epgdata.ontvjapan"	=>	"CS22", // 160,	// "鐚-鐚器滋鐚潟"
	//"1120.ontvjapan.com"		=>	"CS22", // 161,	// "鐚縁雫鐚"
	"185ch.epgdata.ontvjapan"	=>	"CS22", // 185,	// "ゃ鐚鐚鐚鐚鐚器雫"
	"1015.ontvjapan.com"		=>	"CS22", // 293,	// "<弱"
	"3201.ontvjapan.com"		=>	"CS22", // 301,	// "鐚器滋鐚潟c潟"
	"1090.ontvjapan.com"		=>	"CS22", // 304,	// "c冴若c潟"
	"1022.ontvjapan.com"		=>	"CS22", // 325,	// "MUSIC ON! TV"
	"1045.ontvjapan.com"		=>	"CS22", // 330,	// "冴鴻若激с"
	"1076.ontvjapan.com"		=>	"CS22", // 351,	// "鐚器滋鐚潟ャ若鴻若"

	"1068.ontvjapan.com"		=>	"CS24", // 257,	// "ャ鐚э"
	"5004.ontvjapan.com"		=>	"CS24", // 291,	// "fashion TV"
	"300ch.epgdata.ontvjapan"	=>	"CS24", // 300,	// "ャ"
	"1023.ontvjapan.com"		=>	"CS24", // 320,	// "潟ャ若吾鐚器雫"
	"1208.ontvjapan.com"		=>	"CS24", // 321,	// "Music Japan TV"
	"2002.ontvjapan.com"		=>	"CS24", // 350,	// "ャ鐚鐚ワ七鐚鰹鐚"
	/*
	"110ch.epgdata.ontvjapan"	=>	"CS22", 110,	// "潟潟若帥"
	"101ch.epgdata.ontvjapan"	=>	"CS22", 101,	// "絎紂≪c潟"
	"147ch.epgdata.ontvjapan"	=>	"CS22", 147,	// "鐚o竺ユ腟ゃ"
	*/
);

// DB若宴篁ヤ紊眼с

define( "RESERVE_TBL",  "reserveTbl" );						// 篋膣若
define( "PROGRAM_TBL",  "programTbl" );						// 腟茵
define( "CHANNEL_TBL",  "channelTbl" );						// c潟若
define( "CATEGORY_TBL", "categoryTbl" );					// 眼若
define( "KEYWORD_TBL", "keywordTbl" );						// 若若若


?>