View Single Post
Old 22nd May 2005, 11:48 PM   #10 (permalink)
doylejul
MC Apprentice
No Avatar
Status doylejul is Offline:
Location Sydney
ActivityPosts: 46
Reputation & Thanks Support Rating:
doylejul
Points Earned: 10

doylejul has been Thanked 0 times in 0 posts
doylejul's
Media Center
Re: Working EPG Tutorial for Sydney

Correct me if I'm wrong, but the directions on http://www.bmpbargains.biz/mce_epg.htm to download the guide using the scheduler will not give you usable guide info as the channel information still needs to be modified to contain the correct channel names.....So I hacked this together, give it a try...



Download SED from http://sed.sourceforge.net/grabbag/ssed/sed-3.59.zip
Extract the exe file into your Windows directory and rename it to sed.exe

Edit your getepg.bat file that is in your C:\windows\ehome directory to read as follows:

(Don't hassle me about the hopelessly inefficient code, I am not a programmer...someone else please feel free to write it properly...)



@echo on
del listing.xml
del listing2.xml
tvharvest.exe
sed "s/ABC NSW/ABC TV Sydney/g" listing.xml>newlisting.xml
del listing.xml
ren newlisting.xml listing.xml
(sed "s/ABC NSW/ABC TV Sydney/g" listing2.xml)>newlisting2.xml
del listing2.xml
ren newlisting2.xml listing2.xml
sed "s/Network TEN Sydney/TEN Digital/g" listing.xml>newlisting.xml
del listing.xml
ren newlisting.xml listing.xml
(sed "s/Network TEN Sydney/TEN Digital/g" listing2.xml)>newlisting2.xml
del listing2.xml
ren newlisting2.xml listing2.xml
sed "s/Channel NINE Sydney/NINE Digital/g" listing.xml>newlisting.xml
del listing.xml
ren newlisting.xml listing.xml
(sed "s/Channel NINE Sydney/NINE Digital/g" listing2.xml)>newlisting2.xml
del listing2.xml
ren newlisting2.xml listing2.xml
sed "s/Channel Seven Sydney/7 Digital/g" listing.xml>newlisting.xml
del listing.xml
ren newlisting.xml listing.xml
(sed "s/Channel Seven Sydney/7 Digital/g" listing2.xml)>newlisting2.xml
del listing2.xml
ren newlisting2.xml listing2.xml
sed "s/SBS Sydney/SBS DIGITAL 1/g" listing.xml>newlisting.xml
del listing.xml
ren newlisting.xml listing.xml
(sed "s/SBS Sydney/SBS DIGITAL 1/g" listing2.xml)>newlisting2.xml
del listing2.xml
ren newlisting2.xml listing2.xml
quickguide.exe /batch
exit