Firstly Read Part 1 to this guide:
http://www.xpmediacentre.com.au/comm...0-working.html
- Media Centre Hotfixes
Important Hotfixes For Vista Media Center
- xmlTVNZ, latest version
(
http://reven.co.nz/xmlTVNZ/xmlTVNZ.aspx)
- BladerunnerPro v3 (v3.5 will NOT work, you must use v3)
(
http://www.xpmediacentre.com.au/comm...?do=file&id=60)
- a command-line to run xmlTVNZ that captures the channels you want. You can use the online command-line builder for this (
http://reven.co.nz/xmlTVNZ/xmlTVNZCommandBuilder.aspx)
- to know your computer’s name. Use Control Panel | System and Maintenance | System | See the name of this computer, then look for the value next to ‘Computer name’
- to be logged in as an Administrator user for the majority of these instructions.
Off we go:
1. Install Bladerunner Pro
- Accept the defaults throughout install (it will install to C:\Windows\ehome\BladeRunnerPro)
2. Install xmlTVNZ
- Unzip all files to C:\Windows\ehome\BladeRunnerPro
3. Install IIS
- Control Panel | Programs | Programs and Features | Turn Windows features on or off
4. Configure IIS
- Open Control Panel | System and Maintenance | Administrative Tools | IIS Manager
- Expand all items in left menu, then right-click on ‘Default Web Site’ and select ‘Advanced Settings’
- Change the ‘Physical Path’ value to point to ‘c:\windows\ehome\bladerunnerpro’
5. Modify the html files in c:\windows\ehome\bladerunnerpro\Native
- In file ‘GetEPGDataMetaInfo.html’:
<?xml version="1.0" standalone="yes"?>
<EPGMetaInfo xmlns="http://data.tvdownload.microsoft.com/TVServices.Platform.XDS/1.0">
<URL>http://localhost/GuideData/guide.bin</URL>
<EncryptionKey xmlns=""></EncryptionKey>
<Hash xmlns=""></Hash>
</EPGMetaInfo>
- In file ‘GetTVServicesMetaInfo.html’:
<?xml version="1.0" encoding="utf-8"?>
<ServiceMetaInfo xmlns="http://data.tvdownload.microsoft.com/TVServices.Platform.XDS/1.0">
<SessionToken>00000000-0000-0000-0000-000000000000</SessionToken>
<Service name="EPGService" defaultScheme="http" serverName="localhost" hostName="localhost" hostPort="localhost" path="Native">
<Interface name="GetHeadendList" scheme="http" subPath="GetHeadendList.html" />
<Interface name="GetEPGDataMetaInfo" scheme="http" subPath="GetEPGDataMetaInfo.html" />
</Service>
</ServiceMetaInfo>
6. Either restart your PC or restart the ‘website’ you just created. To restart the website, use Control Panel | System and Maintenance | Administrative Tools | IIS Manager then click ‘Restart Server’ in the right-hand menu.
7. Check that you can browse in Firefox/Internet Explorer to both of the altered files/webpages
-
http://localhost/native/GetEPGDataMetaInfo.html
-
http://localhost/native/GetTVServicesMetaInfo.html
8. Run your normal batchfile that calls xmlTVNZ and BladeRunnerPro in order to create guide.bin. If you don’t have one of these already, my one is shown below. I only grab TV1, TV2, TV3, C4 and Prime.
Note 1: You will probably want to only grab 1 day of listings until you are sure it is working OK.
Note 2: You also don’t need all the ‘log’ stuff in this batchfile. I put this in there so if something goes wrong with my EPG I can easily look back at all the logfiles, since each is stored with the date it ran.
- Example batch-file ‘GetListings.cmd’ (located in C:\Windows\ehome\BladeRunnerPro) is:
C:
Cd C:\Windows\ehome\BladeRunnerPro
Echo *** START *** > log.txt
Echo Del SOAP >> log.txt
Del /f /q Resources\*.soap >> log.txt
Echo Run xmlTVNZ >> log.txt
Xmltvnz.exe GuideData\listing2.xml -days 6 -seconds -noicons -nolang -nogenres -noactors tv1 tv2 sky_tv3 sky_c4 sky_prime >> log.txt
Copy /Y xmltv.dtd GuideData\xmltv.dtd >> log.txt
Copy /Y ChannelInfo.xml GuideData\ChannelInfo.xml >> log.txt
Copy /Y ChannelInfo.xml QuickGuide\ChannelInfo.xml >> log.txt
Echo Run BRP >> log.txt
C:\Windows\ehome\BladeRunnerPro\BladeRunner.exe >> log.txt
Echo *** END *** >> log.txt
Move log.txt Logs\"Guide log %date:~10%-%date:~7,2%-%date:~4,2%.txt"
- If you choose to use the above file with its logging abilities, ensure you create a directory called ‘Logs’ in C:\Windows\ehome\BladeRunnerPro
9. Install the 3 hotfixes (keepkey is no longer required)
Important Hotfixes For Vista Media Center
10. Configure the Guide in Media Centre
- Start Media Centre and the MCE Config wizard, using Tasks | Settings | General | Windows Media Center Setup | Set up TV Signal
- Select AUSTRALIA as your region, then proceed with normal answers until you get to the ‘Enter your postcode’ screen.
11. Point Media Centre to your local EPG data instead of the internet
- Minimise Media Centre and run REGEDIT.EXE
- Change the ‘HKLM/Software/Microsoft/Windows/CurrentVersion/Media Center/Service/EPG/discSvc’ key to ‘
http://PCNAME/Native/GetTVServicesMetaInfo.html’ (remember to replace ‘PCNAME’ with your PC name)
- Go into Control Panel | System and Maintenance | Administrative Tools | Services and start the ‘Keep Key’ service and make sure it is set to start automatically
- Return to Media Centre and enter a postcode of ‘0000’, it should pick up your guide.
12. Set up New Zealand channels in Media Centre instead of Australia
- Re-run the ‘Set up TV Signal’ wizard again, and this time select the correct region of ‘NEW ZEALAND’ so your channel tuning works fine.
- Use Settings | TV | Guide | Edit Channels to enable just one of each channel. My reception is:
( TV1 ) 55.25
( TV2 ) 175.25
( TV3 ) 196.25
( C 4 ) 210.312
(Prime) 775.312
- Use Settings | TV | Guide | Change Channel Order to sort the channels (e.g. TV1 first in the list)
- Use Settings | TV | Guide | Add Listings to Channel to go into each channel at a time and match it with the ‘name’ of the right guide listing.
13. Configure the Guide to be downloaded each day
- Open Control Panel | System and Maintenance | Administrative Tools | Task Scheduler
- Click on ‘Task Scheduler Library’ in left column
- Delete the ‘BRP’ job that BladerunnerPro created
- Click ‘Create Basic Task’ in the right column and create a new job:
Name: Get EPG Data
When do you want the task to start: Daily
Start: from tomorrow, then choose a time in the very early morning
What action do you want the task to perform: Start a program
Program/Script: C:\Windows\ehome\BladeRunnerPro\GetListings.cmd (or the name of your batchfile
from Step 8)
14. I recommend fine-tuning the basic task by right-clicking on it and selecting ‘Properties’, then:
- On the ‘Conditions’ tab, ensure the ‘Wake the computer to run this task’ box is checked
- On the ‘Settings’ tab, change the value for ‘Stop the task if it runs longer than’ down to something like ‘2 hours’.
15. You’re bound to want to test everything at this point, so give it a whirl:
- Double-click on the task you created in Task Scheduler to manually run the scheduled job
- Once the command window disappears, check log in C:\Windows\ehome\BladeRunnerPro\Logs to ensure there weren’t any errors
Note: If there’s no disk activity and no new files being created in your C:\Windows\ehome\BladeRunnerPro\Cache directory for a while, it could mean that BladeRunner has failed for some reason, so open the C:\Windows\ehome\BladeRunnerPro\log.txt log-file and scroll to the end. If there’s a message saying ‘Press enter to continue’, then switch to the black command window and press Enter. The program will end, the log-file will be moved to the ‘Logs’ directory, and then you can start troubleshooting the error.
- Manually import the guide data into Media Centre by selecting Tasks | Settings | TV | Guide | Get Latest Guide Listings