You are here

Japan - Local channels Kanto region (Tokyo)

11 posts / 0 new
Last post
gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years
Japan - Local channels Kanto region (Tokyo)

Hello,

I noticed that the current ini files for Japan are for services like Skyperfect TV, but nothing for over the air TV. I found online the program guides for the most common over the air channels, but currently looking for a guide on how to make these ini files.

 

The source websites for information are as follows:

NHK G:
http://cgi4.nhk.or.jp/hensei/program/wk.cgi?area=001&type=0&date=2016-10-07&tz=&ch=21&mode=2&f=week
 

NHK E:
http://cgi4.nhk.or.jp/hensei/program/wk.cgi?area=001&type=0&date=2016-10-07&tz=&ch=31&mode=2&f=week
 

Tokyo TV:
http://www.tv-tokyo.co.jp/index/timetable/
 

TBS TV:
http://www.tbs.co.jp/tv/
 

Asahi TV
http://www.tv-asahi.co.jp/bangumi/

 

NTV
http://www.ntv.co.jp/program/

Fuji TV
http://www.fujitv.co.jp/timetable/weekly/

 

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Got it, I will try to build the files and see (current missing a tuner to do final testing). Do this guide still holds? http://www.webgrabplus.com/content/howto-writing-siteini

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Great, thanks! By the way, lets say I receive a channel that doesnt line up with the channel number or name on the ini file, can I modify the EPG table or ini file for it to work with my scenario?

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Thank you very much! That list does help.

To give more light to my situation, I am currently setting up an EPG list for the US military base Allied Telesis. This provider does not offer EPG data for their japanese channels (and does not plan to do so), thus I am setting up my own solution for my wife to be able to record her japanese TV shows, while I can also watch my football games.

The channel list I am looking at (has I am using the basic service, only japanese local channels and AFN channels are included):

http://www.atcc-gns.com/services/CampZama/television.aspx

***I am not concerned about the ATCC EPG or the commander channel EPG data.

From the information provided from files generated by you, I was able to use the parts necessary, so my WebGrab++.config.xml channels section should look something like below. Please have a look and let me know if I am missing anything. I will be holding both the afn.ini and eonet.jp.ini files on the webgrab install. I will probably need to create an ini to grab the information for NTV and Tokyo TV (I have created a place holder in the information below).

=============================================================================================================

<channels>

<!--AFN-->
     <channel update="i" site="myafn" site_id="4" xmltv_id="AFN prime Pacific">AFN prime Pacific</channel>
    <channel update="i" site="myafn" site_id="2" xmltv_id="AFN prime Atlantic">AFN prime Atlantic</channel>
    <channel update="i" site="myafn" site_id="5" xmltv_id="AFN news">AFN news</channel>
    <channel update="i" site="myafn" site_id="1" xmltv_id="AFN sports">AFN sports</channel>
    <channel update="i" site="myafn" site_id="3" xmltv_id="AFN spectrum">AFN spectrum</channel>
    <channel update="i" site="myafn" site_id="10" xmltv_id="AFN movie">AFN movie</channel>
    <channel update="i" site="myafn" site_id="9" xmltv_id="AFN family,AFN pulse">AFN family,AFN pulse</channel>
    <channel update="i" site="myafn" site_id="6" xmltv_id="AFN sports2">AFN sports2</channel>

<!--Japanese Local Channels--->

   <!-- NHK G -->

    <channel update="i" site="eonet.jp" site_id="0501" xmltv_id="NHK総合">NHK総合</channel>
  <!-- NHK E--> 

  <channel update="i" site="eonet.jp" site_id="0502" xmltv_id="NHK Eテレ">NHK Eテレ</channel>

  <!--Multiple TBS channels, need to test--->

   <channel update="i" site="eonet.jp" site_id="0985" xmltv_id="TBSチャンネル1 最新ドラマ・音楽・映画">TBSチャンネル1 最新ドラマ・音楽・映画</channel>

   <channel update="i" site="eonet.jp" site_id="0997" xmltv_id="TBSニュースバード(HD)">TBSニュースバード(HD)</channel>

  <!--Fuji channel-->

 <channel update="i" site="eonet.jp" site_id="0028" xmltv_id="BSフジ">BSフジ</channel>

 <!-- Asahi channel-->

<channel update="i" site="eonet.jp" site_id="0913" xmltv_id="テレ朝チャンネル2 ニュース・情報・スポーツ">テレ朝チャンネル2 ニュース・情報・スポーツ</channel>

<!--Tokyo TV Missing-->

<!--NTV missing-->

</channels>

============================================================================================================

 

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

On the latest development, the japanese source comes out empty. I checked the url on the ini site and it works correct, so not sure why it comes out empty.

As for AFN, the server gives errors, so ini file needs rework.

Looks like I have a lot of work ahead of me.

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Blackbear, 

Thanks again. As for the AFN files, those are the ones I tried, but it first gives a server error 500, then it indicates that there is no show data on the index page. I suspect something might have changed in how AFN channels are displayed. I will try looking at it once I get the japanese channels going.  

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Interesting finding, the AFN files work correctly, my issue came from permission issues. I decided to give users full permissions for both the c:\programdata\servercare\ and c:\program files (x86)\servercare folders and the AFN listing are working correctly now. 

Looking at the Japanese ones.

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Thank you sir. 

From my search, I found that yahoo has the listings for the channels I need (except for AFN, which I will use the ini you provided). I am digging deeper on the yahoo page to better understand what part I am to grab the data from (not too experienced in xml). This listing has:

NHK G - channel 1

NHK E - channel 2

NTV - channel 4

Asahi TV - channel 5

TBS - channel 6

Tokyo TV- channel 7

Fuji TV- channel 8 

====================================

Yahoo listings:

http://tv.yahoo.co.jp/listings/realtime/

 

Yahoo listings (more specific?):

http://tv.yahoo.co.jp/listings/23/?&d=20161015&s=1&va=6&vb=1&vc=0&vd=0&v...

 

=====================================================

On the more specific url:

*I noticed that the number 23 at "/listings/23/?&d" has to do with location. Tokyo is 23.

*of course "d=20161015" has to do with the date.

*"&st=01" is related to time blocks, it shows blocks of 6 hours at a time. For example, changing to 03 will show from 03 am to 09am. Have to be careful changing this number as it sometimes produces errors and no data (it will show: "番組のデータがありません" in all channel blocks, meaning no program data).

I will keep on experimenting, have nto been able to find the right conbination to only show one channel at a time. 

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

Found another TV guide that might be easier to handle due to less elements on the page:

http://tv.so-net.ne.jp/chart/23.action;jsessionid=53009C3763844013AAA10E...

 

From that page, it seems that an RSS feed gets generated too...

http://tv.so-net.ne.jp/rss/schedulesByCurrentTime.action?group=10&statio...

 

So I wonder, can Webgrabplus use RSS feeds to get programming information?

I noticed that it does one channel, 30 minutes at a time. 

http://tv.so-net.ne.jp/schedule/101032201610161230.action?from=rss

The 101032 is the channel id,

20161016 is the date,

1230 is the time

 

Channel IDs go:

101032 - NHK E

101040 - NTV (Nihon Terebi)

101072 - Tokyo TV

101064 - Asahi TV

101024 - NHK G

101048 - TBS

101056 - Fuji TV

 

All help is greatly appreciated, I am having a hard time understanding how to read the sources and create a site ini.

 

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

It works beautifully! I really want to learn how you did it as I was having a hard time even figuring out how to mak the site ini out of the documentation.

The only change I had to do was add a timeout to my config file as it seems that the webpage cannot handle many requests at once and gives me the no shows in the index page error. I added this to my config and works great!

*I tried making the times smaller, but this was the best working time that didnt error out or cause the no shows in the index page message.

<retry channel-delay="10" index-delay="10" time-out="10">4</retry>

 

 

gaijinboricua
Offline
Joined: 7 years
Last seen: 7 years

No worries about yahoo, the file you provided is great for the local channels, which is what most people watch around here. Thanks.

Maybe we should add these to the EPG download section along with the AFN ones.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl