YANO's digital garage

Copyright ©YANO All rights reserved. https://www.bravotouring.com/~yano/

Last-modified: 2024-06-29 (土)


[一語一絵/IT系]

epgrecも更新 / 2024-06-01 (土)

3月4月に書いた「スターチャンネル」の再編話。

epgrecのRecorder_channelTblとsatelite_channel.phpも変更。そういえば「BSスカパー!」と「NHK BSプレミアム」も消し忘れてたよ。

yano@GT110b:~$ mysql epg -e "select * from Recorder_channelTbl where channel in (200,201,202);";
+----+------+---------+------------------------------+------------------------+-----+------+
| id | type | channel | name                         | channel_disc           | sid | skip |
+----+------+---------+------------------------------+------------------------+-----+------+
| 11 | BS   | 200     | スター・チャンネル1          | 4200.epgdata.ontvjapan | hd  |    0 |
| 12 | BS   | 201     | スター・チャンネル2          | 4201.epgdata.ontvjapan | hd  |    0 |
| 13 | BS   | 202     | スター・チャンネル3          | 4202.epgdata.ontvjapan | hd  |    0 |
+----+------+---------+------------------------------+------------------------+-----+------+
yano@GT110b:~$ mysql epg -e "update Recorder_channelTbl set name ='スター・チャンネル' where id = 11;";
yano@GT110b:~$ mysql epg -e "delete from Recorder_channelTbl where id in (12,13);";
yano@GT110b:~$ mysql epg -e "select * from Recorder_channelTbl where channel in (200,201,202);";
+----+------+---------+-----------------------------+------------------------+-----+------+
| id | type | channel | name                        | channel_disc           | sid | skip |
+----+------+---------+-----------------------------+------------------------+-----+------+
| 11 | BS   | 200     | スター・チャンネル          | 4200.epgdata.ontvjapan | hd  |    0 |
+----+------+---------+-----------------------------+------------------------+-----+------+
yano@GT110b:~$ mysql epg -e "select * from Recorder_channelTbl where channel in (101,102,241);";
+----+------+---------+-------------------+------------------------+-----+------+
| id | type | channel | name              | channel_disc           | sid | skip |
+----+------+---------+-------------------+------------------------+-----+------+
|  1 | BS   | 101     | NHK BS1           | 4101.epgdata.ontvjapan | hd  |    0 |
|  2 | BS   | 103     | NHK BSプレミアム  | 4103.epgdata.ontvjapan | hd  |    0 |
| 21 | BS   | 241     | BSスカパー!      | 4241.epgdata.ontvjapan | hd  |    0 |
+----+------+---------+-------------------+------------------------+-----+------+
yano@GT110b:~$ mysql epg -e "update Recorder_channelTbl set name ='NHK BS' where id = 1;";
yano@GT110b:~$ mysql epg -e "delete from Recorder_channelTbl where id in (2, 21);";
yano@GT110b:~$ mysql epg -e "select * from Recorder_channelTbl where channel in (101, 241);";
+----+------+---------+--------+------------------------+-----+------+
| id | type | channel | name   | channel_disc           | sid | skip |
+----+------+---------+--------+------------------------+-----+------+
|  1 | BS   | 101     | NHK BS | 4101.epgdata.ontvjapan | hd  |    0 |
+----+------+---------+--------+------------------------+-----+------+
yano@GT110b:~$
yano@GT110b:/var/www/html/epgrec/settings$ diff -bc satelite_channel.php.20210720 satelite_channel.php
*** satelite_channel.php.20210720       2021-07-20 01:25:33.088203474 +0900
--- satelite_channel.php        2024-06-19 02:16:24.185056577 +0900
***************
*** 1,8 ****
  <?php
  // 全国用BSデジタルチャンネルマップ
  $BS_CHANNEL_MAP = array(
!       "4101.epgdata.ontvjapan"  =>  "101", // NHK BS1
!       "4103.epgdata.ontvjapan"  =>  "103", // NHK BSプレミアム
        "4141.epgdata.ontvjapan"  =>  "141", // BS日テレ
        "4151.epgdata.ontvjapan"  =>  "151", // BS朝日
        "4161.epgdata.ontvjapan"  =>  "161", // BS TBS
--- 1,8 ----
  <?php
  // 全国用BSデジタルチャンネルマップ
  $BS_CHANNEL_MAP = array(
!       "4101.epgdata.ontvjapan"  =>  "101", // NHK BS
! //    "4103.epgdata.ontvjapan"  =>  "103", // NHK BSプレミアム
        "4141.epgdata.ontvjapan"  =>  "141", // BS日テレ
        "4151.epgdata.ontvjapan"  =>  "151", // BS朝日
        "4161.epgdata.ontvjapan"  =>  "161", // BS TBS
***************
*** 14,28 ****
        "4192.epgdata.ontvjapan"  =>  "192", // WOWOWライブ
        "4193.epgdata.ontvjapan"  =>  "193", // WOWOWシネマ
        "4200.epgdata.ontvjapan"  =>  "200", // Star Channel 1
!       "4201.epgdata.ontvjapan"  =>  "201", // Star Channel 2
!       "4202.epgdata.ontvjapan"  =>  "202", // Star Channel 3
        "4231.epgdata.ontvjapan"  =>  "231", // 放送大学1
        "4232.epgdata.ontvjapan"  =>  "232", // 放送大学2
  //    "4233.epgdata.ontvjapan"  =>  "233", // 放送大学3
        "4234.epgdata.ontvjapan"  =>  "234", // グリーンチャンネル
        "4236.epgdata.ontvjapan"  =>  "236", // BSアニマックス
  //    "4238.epgdata.ontvjapan"  =>  "238", // FOX bs238
!       "4241.epgdata.ontvjapan"  =>  "241", // BSスカパー!
        "4242.epgdata.ontvjapan"  =>  "242", // J-SPORTS1
        "4243.epgdata.ontvjapan"  =>  "243", // J-SPORTS2
        "4244.epgdata.ontvjapan"  =>  "244", // J-SPORTS3
--- 14,28 ----
        "4192.epgdata.ontvjapan"  =>  "192", // WOWOWライブ
        "4193.epgdata.ontvjapan"  =>  "193", // WOWOWシネマ
        "4200.epgdata.ontvjapan"  =>  "200", // Star Channel 1
! //    "4201.epgdata.ontvjapan"  =>  "201", // Star Channel 2
! //    "4202.epgdata.ontvjapan"  =>  "202", // Star Channel 3
        "4231.epgdata.ontvjapan"  =>  "231", // 放送大学1
        "4232.epgdata.ontvjapan"  =>  "232", // 放送大学2
  //    "4233.epgdata.ontvjapan"  =>  "233", // 放送大学3
        "4234.epgdata.ontvjapan"  =>  "234", // グリーンチャンネル
        "4236.epgdata.ontvjapan"  =>  "236", // BSアニマックス
  //    "4238.epgdata.ontvjapan"  =>  "238", // FOX bs238
! //    "4241.epgdata.ontvjapan"  =>  "241", // BSスカパー!
        "4242.epgdata.ontvjapan"  =>  "242", // J-SPORTS1
        "4243.epgdata.ontvjapan"  =>  "243", // J-SPORTS2
        "4244.epgdata.ontvjapan"  =>  "244", // J-SPORTS3
yano@GT110b:/var/www/html/epgrec/settings$

【参照】
●Wikipedia https://ja.wikipedia.org/wiki/
日本における衛星放送
放送衛星システム
スター・チャンネル
BSJapanext