sgMCE.com

A place for Singaporean MCE users to share config info!
It is currently Sun Sep 05, 2010 10:02 am

All times are UTC




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Starhub & Mediacorp TVXB ini files and scraper/reformatter
PostPosted: Thu May 06, 2010 11:06 am 
Offline
Site Admin
User avatar

Joined: Thu May 06, 2010 6:55 am
Posts: 29
Win 7:
Quote:
Full set of 130+ channels from starhub & Mediacorp 5/8/CNA:
http://www.sgmce.com/tvxb_SG_Win7.ini

You will need to go into MCE guide settings and edit your channels after running TVXB – as per TVXB Win7 Instructions


Vista:
Quote:
Full set of 130+ channels from starhub & Mediacorp 5/8/CNA:
http://www.sgmce.com/tvxb_SG_Vista.ini

You will need to manually edit the ini file and put your own destinations for the xml file and bladerunner channel outputs.


So far mediacorp has no descriptions, just titles. I HAVE NOT TESTED CHINESE - but HTML files are properly encoded and supporedly tvXB can autodetect the encoding. Let me know if it works for you.

FYI: In the ini file, the schedules come from THIS site – i wrote two scrapers/re-formatters that take the data from the StarHub/Mediacorp ajax pages and reformat them to be readable by TVXB without much configuration, removing overlapping schedules, etc…
I have nothing to do with the data itelf - you are requesting it from Starhub/mediacorp and my script just reformats.


Top
 Profile  
 
 Post subject: Re: Mediacorp Descriptions
PostPosted: Fri May 07, 2010 12:52 pm 
Offline

Joined: Fri May 07, 2010 12:08 am
Posts: 12
Location: Singapore
alex wrote:

So far mediacorp has no descriptions, just titles. I HAVE NOT TESTED CHINESE - but HTML files are properly encoded and supporedly tvXB can autodetect the encoding. Let me know if it works for you.


Alex, I presume you've seen the http://www2.mediacorp.com.sg/cgi-bin/tvguide/tvguide_channel.asp?channel=tcs5 page. I looked at this briefly when I wrote my pre-processor, but it was going to take me a lot longer to scrape this format since it only seems to allow 2 hours per download, so I took the easier option at xinmsn that I think you might be using..

This good thing about the mediacorp page is that it has links to descriptions, so maybe this is the solution for mediacorp descriptions.

_________________
Silverstone GD01S-MXR, CPU: Pentium D 3.2 GHz, Asus V72 Cooler; MD: Asus P5LD2 Deluxe 2048MB, WD 1TB, Seagate 320GB, Asus EN9400GT Silent 512MB, Hauppauge HVR 1300, XP Home SP3, GB-PVR 1.3, ExternalDisplay


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Sat May 08, 2010 1:42 am 
Offline
Site Admin
User avatar

Joined: Thu May 06, 2010 6:55 am
Posts: 29
Good to know raphy, I had not seen that... Will take a look when I have time tonight...


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Wed May 12, 2010 1:14 am 
Offline

Joined: Mon May 10, 2010 9:18 am
Posts: 8
hi alex

spotted right square brackets missing from urls for channels 848 and 851
in the ini files

regards,


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Wed May 19, 2010 7:38 am 
Offline

Joined: Wed May 19, 2010 7:30 am
Posts: 4
The SGMCE Mediacorp scraper/reformatter have suddenly stopped working.

e.g. http://www.sgmce.com/tvxb_mediacorp.php ... 2010-05-20

It was working great till about the 18 May...

I have been using the palm version from MediaCorp for my TVxB scrap for now but the info within is pretty basic, any Help?


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Wed May 19, 2010 10:23 am 
Offline

Joined: Sat May 08, 2010 6:26 am
Posts: 2
I encountered similar problem.
Please turn it on again.
It has chinese information and is better than the palm version.


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Wed May 19, 2010 1:56 pm 
Offline

Joined: Wed May 19, 2010 7:30 am
Posts: 4
@ssun

I been using the following TVxB INI for the moment while waiting on Alex to fix the script, it's got Chinese titles but do not have the genres

Code:
[3.Ch8]
service=Channel 8
channel=3
lang=zh-sg
url=http://mio.singtel.com/miotv/programme-guide_channel_content-print.asp?tp=0&d=[day=mm/d/yyyy]&ch=5003
htmlencoding=utf-8
auto=no
start=1
title=2

[5.ChU]
service=Channel U
channel=5
lang=zh-sg
url=http://mio.singtel.com/miotv/programme-guide_channel_content-print.asp?tp=0&d=[day=mm/d/yyyy]&ch=5007
htmlencoding=utf-8
auto=no
start=1
title=2


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Thu May 20, 2010 11:15 am 
Offline

Joined: Sat May 08, 2010 6:26 am
Posts: 2
Thanks. This is better now.


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Fri May 21, 2010 11:59 am 
Offline

Joined: Wed May 19, 2010 7:30 am
Posts: 4
you're welcome ssun.

Alex, any chance of getting the PHP script up running again?


Top
 Profile  
 
 Post subject: Re: Starhub & Mediacorp TVXB ini files and scraper/reformatt
PostPosted: Sat May 22, 2010 2:44 am 
Offline
Site Admin
User avatar

Joined: Thu May 06, 2010 6:55 am
Posts: 29
OOPS!

I was working on getting descriptions and thought I had left it functional! My bad...

I am 80% on getting the descriptions with the Mediacorp scraper.... but in the meantime I have fixed the problem that was causing the schedule to be hidden from some people.

Will post again tonight or tomorrow when I have another 30 mins to look at the code and FINALLY get some mediacorp descriptions!

... off to work now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group