# HG changeset patch # User Yoshiki Yazawa # Date 1523809458 -32400 # Node ID 5e4290a4cd01c9138f2a5dc8725538d2d2deffbf # Parent d568316766965a5e159f9a75848bffd6b67cdd8a follow BS Japan's transponder migration diff -r d56831676696 -r 5e4290a4cd01 recpt1/pt1_dev.h --- a/recpt1/pt1_dev.h Mon Apr 16 00:43:19 2018 +0900 +++ b/recpt1/pt1_dev.h Mon Apr 16 01:24:18 2018 +0900 @@ -32,8 +32,8 @@ ISDB_T_FREQ_CONV_TABLE isdb_t_conv_table[] = { { 0, CHTYPE_SATELLITE, 0, "151"}, /* 151ch:BS朝日 */ { 0, CHTYPE_SATELLITE, 1, "161"}, /* 161ch:BS-TBS */ + { 0, CHTYPE_SATELLITE, 2, "171"}, /* 171ch:BSジャパン */ { 1, CHTYPE_SATELLITE, 0, "191"}, /* 191ch:WOWOW prime */ - { 1, CHTYPE_SATELLITE, 1, "171"}, /* 171ch:BSジャパン */ { 2, CHTYPE_SATELLITE, 0, "192"}, /* 192ch:WOWOWライブ */ { 2, CHTYPE_SATELLITE, 1, "193"}, /* 193ch:WOWOWシネマ */ { 3, CHTYPE_SATELLITE, 0, "201"}, /* 201ch:スター・チャンネル2 */ diff -r d56831676696 -r 5e4290a4cd01 recpt1/recpt1core.c --- a/recpt1/recpt1core.c Mon Apr 16 00:43:19 2018 +0900 +++ b/recpt1/recpt1core.c Mon Apr 16 01:24:18 2018 +0900 @@ -9,12 +9,12 @@ /* globals */ boolean f_exit = FALSE; -char bs_channel_buf[8]; +char bs_channel_buf[20]; ISDB_T_FREQ_CONV_TABLE isdb_t_conv_set = { 0, CHTYPE_SATELLITE, 0, bs_channel_buf }; #if 0 -/* lookup frequency conversion table*/ +/* lookup frequency conversion table */ ISDB_T_FREQ_CONV_TABLE * searchrecoff(char *channel) { @@ -31,14 +31,13 @@ } return NULL; } -#endif - -/* lookup frequency conversion table*/ +#else +/* lookup frequency conversion table */ ISDB_T_FREQ_CONV_TABLE * searchrecoff(char *channel) { int lp; - + printf("channel = %s\n", channel); if(channel[0] == 'B' && channel[1] == 'S') { int node = 0; int slot = 0; @@ -73,6 +72,7 @@ } return NULL; } +#endif int close_tuner(thread_data *tdata)