Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > Windows Media Center Solutions > Windows Media Center - EPG Discussion & Support

Community Information

Reply
 
Thread Tools
Old 30th June 2007, 10:16 PM   #1 (permalink)
Newbie
No Avatar
Status Hamish is Offline:
ActivityPosts: 4
Reputation & Thanks Support Rating:
Hamish
Points Earned: 12

Hamish has been Thanked 1 times in 1 posts
NZ: Part2 - Vista MCE with xmlTVNZ and BladeRunner3.0 Working

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

Last edited by Hamish; 1st July 2007 at 09:52 PM.
  Reply With Quote
Old 1st July 2007, 08:04 PM   #2 (permalink)
MCE Graduate
No Avatar
Status petethegeek is Offline:
Location NZ
ActivityPosts: 82
Reputation & Thanks Support Rating:
petethegeek
Points Earned: 86

petethegeek has been Thanked 10 times in 8 posts
Re: NZ: Part2 - Vista MCE with xmlTVNZ and BladeRunner3.0 Working

Reasonable guide pulling together stuff that others have discovered (myself included) and posted in here.
All pretty good, except that using keepkey is not the best option any more, there is an unofficial windows patch to use instead.
Use the search in this forum for the patch

Pete
__________________
petethegeek - real NZ Nerd
  Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista: NZ: Vista MCE with xmlTVNZ and BladeRunner3.0 Working Hamish Windows Media Center - EPG Discussion & Support 2 23rd April 2007 05:53 PM


Advertisers
Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 10:58 PM AEDT.