Forum Home
Press F1
 
Thread ID: 88511 2008-03-30 07:21:00 Vista Media Centre TV Guide Help springa886 (10558) Press F1
Post ID Timestamp Content User
654231 2008-04-03 06:20:00 :crying

Just when I thought I had it all going, Media Center gets to 61% of downloading guide, and gets absolutely nowhere very quickly at that point. :(

:crying
Sherman (9181)
654232 2008-04-03 06:35:00 That's further than I got man. I wish I could get that far!!! I'm seriously ready to give up!! springa886 (10558)
654233 2008-04-03 06:38:00 :crying

Just when I thought I had it all going, Media Center gets to 61% of downloading guide, and gets absolutely nowhere very quickly at that point. :(

:crying

I was about at the posting instructions stage when I ran into this little.. hiccup..
Sherman (9181)
654234 2008-04-03 07:53:00 Well, here's hoping I guess... springa886 (10558)
654235 2008-04-03 08:39:00 Ok, after lots of blood, sweat and tears, I finally have a working guide in Vista Media Center!!

First off, I'm not gonna go near the guide on reven's site.

Instead, I used this (www.tvxb.com) guide mostly. I will be referring to this quite often.. basically follow their steps unless I tell you otherwise.

Important: Decide now what XMLTV Grabber you wish to use!!
Options are (that I will deal with anyway): xmlTVNZ, djkxml, or TVxb.
I am personally using djkxml.

The reason I say this is because different grabbers will have different procedures for setting up.

Notes
You may want to uninstall BladeRunner Pro V3, delete the BladeRunnerPro folder in C:\Windows\ehome (if it still exists) then reinstall BladeRunner Pro (BRP from now on) again (V3 of course)

If using djkxml, you will need to download and install sed for windows (sourceforge.net).

If using xmlTVNZ, The created files _SHOULD_ be in the correct format.

If using TVxb, follow the instructions for it in the guide. Note that currently the Telstraclear listings do NOT seem to work, only the freeview ones (so no Prime etc)

The Steps (using mentioned guide above)

1.Starting at "Configure BladeRunner Pro".. follow the instructions here, very straightforward.

2. If using TVxb, install it. If using other grabbers, have them in an appropriate folder somewhere.

3a. If using TVxb, follow the instructions in the "Setup TVxb grabber" section. New Zealand settings can be found here (www.tvxb.com).

3b. If using djkxml, run the program, choose what channels you want, and once it has completed, open the TVGuide.xml file in a text editor (eg: notepad),
The start of it looks similar to this:

< ?xml version="1.0" encoding="utf-8"?>
< tv generator-info-name="djkxml v2.3.2 for GBPVR">
< channel id="01">
< display-name>TV1 < /display-name>
< icon src="www.gbpvr.com />
< /channel>
< channel id="02">
< display-name>TV2 < /display-name>
< icon src="www.gbpvr.com />
< /channel>
Take note of the channel id for each channel.

Create a new document in your text editor. Save it as ChannelInfo.xml in the C:\Windows\ehome\BladeRunnerPro\QuickGuide folder.

ChannelInfo.xml will contain something along the lines of..

< ?xml version="1.0" encoding="utf-8" standalone="yes" ?>
< NewDataSet>
< channel>
< name>TV1 < /name>
< channelID>01 < /channelID>
< virtualchannel>1 < /virtualchannel>
< /channel>
< channel>
< name>TV2 < /name>
< channelID>02 < /channelID>
< virtualchannel>2 < /virtualchannel>
< /channel>
< channel>
< name>TV3 < /name>
< channelID>03 < /channelID>
< virtualchannel>3 < /virtualchannel>
< /channel>
< channel>
< name>C4 < /name>
< channelID>64 < /channelID>
< virtualchannel>4 < /virtualchannel>
< /channel>
< channel>
< name>Prime < /name>
< channelID>07 < /channelID>
< virtualchannel>5 < /virtualchannel>
< /channel>
< channel>
< name>TVNZ6 < /name>
< channelID>36 < /channelID>
< virtualchannel>6 < /virtualchannel>
< /channel>
< channel>
< name>TVNZ7 < /name>
< channelID>37 < /channelID>
< virtualchannel>7 < /virtualchannel>
< /channel>
< /NewDataSet>

Basically, for each channel you have in your TVGuide, you should have a corresponding entry in the ChannelInfo.xml, where one entry is everything in between, and including a pair of < channel> < /channel> tags.
Copy and paste will be your best friend here.

Now a batch file needs to be created. This can be saved anywhere, with any name you wish, with an extension of .bat or .cmd - doesn't really matter which. This is a simple text file, and will have the following:


cd < path to where djkxml.exe is located>
djkxml
cd "C:\Program Files\GnuWin32\bin"
sed -e "2d" < (path to where djkxml is located)\TVGuide.xml > C:\Windows\ehome\BladeRunnerPro\GuideData\listing2 .xml


Once created, double click the batch file to run it. If you did things correctly, you should find listing2.xml in the C:\Windows\ehome\BladeRunnerPro\GuideData\ folder.

3c.If using xmlTVNZ from reven, run it, then copy the created ChannelInfo.xml (I think this is created automatically...) to C:\Windows\ehome\BladeRunnerPro\QuickGuide, and copy tvguide.xml to C:\Windows\ehome\BladeRunnerPro\GuideData. Remame tvguide.xml to listing2.xml.

4. Follow instructions from "Install IIS" to "Customize BladeRunner to make the guide available from the local machine via IIS"

5. Paste the following into notepad, then save the file as < filename>.reg Run newly created file to integrate the settings into the registry. (This step ASSUMES YOU HAVE VISTA SP1 INSTALLED)


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Media Center\Service\GLID]
"DisableActualStreamOpportunisticScanning"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Media Center\Service\EPG]
"disableUpdateDiscSvc"=dword:00000001


6. If you have keepkey installed, follow the instructions in "Optional procedure to remove keepkey" (grey box)

7. Continue following the steps from "Start configuring the TV Guide in Media Center" to "Complete the Media Center TV Guide setup"
You can choose New Zealand as your region, and set the postcode to 0000

8a. If using TVxb, follow the "Setup BladeRunner as a scheduled task" instructions.

8b. If using djkxml, edit the batch file we made earlier, and add the following to the end of it..


cd < path to where djkxml.exe is located>
djkxml
cd "C:\Program Files\GnuWin32\bin"
sed -e "2d" < (path to where djkxml is located)\TVGuide.xml > C:\Windows\ehome\BladeRunnerPro\GuideData\listing2 .xml
cd C:\Windows\ehome\BladeRunnerPro
BladeRunner


Now you can run this batch file anytime you need to update your guidedata, and you can also run it as a scheduled task if you so desire.

8c. Create a batch file containing:


cd < path to where xmlTVNZ is stored>
xmlTVNZ (I think that's what it's called)
move /Y ChannelInfo.xml C:\Windows\ehome\BladeRunnerPro\QuickGuide
ren tvguide.xml listing2.xml
move /Y listing2.xml C:\Windows\ehome\BladeRunnerPro\GuideData
cd C:\Windows\ehome\BladeRunnerPro
BladeRunner

Please note that I have not tried the above commands myself, and that my DOS commands could be a little rusty..

9. Enjoy!!! (hopefully....)
Sherman (9181)
654236 2008-04-03 09:36:00 UPDATE:

I've been playing with xmlTVNZ..
In the setup/cmd/batch file you create for xmlTVNZ, it goes something like..

xmlTVNZ.exe tvguide.xml -days 5 tv1 tv2....

I am updating Steps 5c. and 8c. with the following...

5c. Create a batch file called <filename>.cmd and put the following in it.


cd <path to xmlTVNZ files>
xmlTVNZ.exe C:\Windows\ehome\BladeRunnerPro\GuideData\listing2 .xml -days 5 tv1 tv2 <etc etc>
move /Y xmltv.dtd C:\Windows\ehome\BladeRunnerPro\GuideData
move /Y ChannelInfo.xml C:\Windows\ehome\BladeRunnerPro\Quickguide


8c Add the following to the end of above batch file


cd C:\Windows\ehome\BladeRunnerPro
BladeRunner
Sherman (9181)
654237 2008-04-04 04:30:00 Hey, cheers for the advice Sherman, i'll get into that list now and see what i can do. springa886 (10558)
654238 2008-04-13 19:25:00 Sorry it's been awhile, I moved houses and just got my broadband put on. I'm trying to follow Shermans list here but keep getting into trouble with the grabbers. Ill have another go today and let you know how it went. springa886 (10558)
654239 2008-04-14 04:27:00 Sorry it's been awhile, I moved houses and just got my broadband put on. I'm trying to follow Shermans list here but keep getting into trouble with the grabbers. Ill have another go today and let you know how it went.

Let me know what grabber you wish to use, an where you're getting stuck, and I may be able to help further..
Sherman (9181)
654240 2008-04-14 09:04:00 Okay, hey Sherman, thanks for all your help so far, hopefully you can help me a little bit more. I have followed your guide to the letter, step by step but i ran into another problem. I decided to use TVxb and just follow what the guide says. Right, so now for the problem...

I got up to here:

"Run the TVxb grabber and create the listing2 (xmltv) and ChannelInfo files.
If TVxb has problems creating these files, then it's likely TVxb does not have permission to write into the BladeRunnerPro GuideData and QuickGuide folders.

More information on the error will be available in the TVxb log file at C:\ProgramData\TVxb\log ."


--------------------------------------------------------------------------

Okay, now I ran the grabber but alas, there was no "listing2" file created in the BladeRunnerPro\GuideData folder. I checked the log @ "C:\ProgramData\TVxb\log" and... I might as well just paste the whole thing up here (sorry about the long post!!!):

================================================== ============================
04/14/2008 19:47:26 +1200: : TVxb V1.0108 START RUN...
Status: loading XMLTV.INI file C:\ProgramData\TVxb\ini\TVxb.ini...
----------------
Status: Waits might be imposed between downloads for...
......: ..scheduling during prime-time (6-11pm).. of up to 5 secs
......: This is to reduce loading on the listing provider's servers
------------------------------------------------------------------------------
Status: Downloading listings...
------------------------------------------------------------------------------
------------------------------------------------------
:2008/04/14: [tv1.nz] : Processing...
Analyzing page to identify valid times, titles, and descriptions
New schedule format found
-------
start=5
title=4
description=2(1)
-------
C:\ProgramData\TVxb\ini\TVxb.ini file will be updated
Attempting to read shows using the new schedule format
------------------------------------------------------
:2008/04/14: [tv1.nz] : 21 shows processed
------------------------------------------------------
:2008/04/14: [tv2.nz] : Processing...
Analyzing page to identify valid times, titles, and descriptions
New schedule format found
-------
start=5
title=4
description=2(1)
-------
C:\ProgramData\TVxb\ini\TVxb.ini file will be updated
Attempting to read shows using the new schedule format
------------------------------------------------------
:2008/04/14: [tv2.nz] : 33 shows processed
------------------------------------------------------
:2008/04/14: [tv3.nz] : Processing...
Analyzing page to identify valid times, titles, and descriptions
New schedule format found
-------
start=1
title=2
-------
C:\ProgramData\TVxb\ini\TVxb.ini file will be updated
Attempting to read shows using the new schedule format
------------------------------------------------------
:2008/04/14: [tv3.nz] : 26 shows processed
------------------------------------------------------
:2008/04/14: [c4.nz] : Processing...
Analyzing page to identify valid times, titles, and descriptions
New schedule format found
-------
start=1
title=2
-------
C:\ProgramData\TVxb\ini\TVxb.ini file will be updated
Attempting to read shows using the new schedule format
------------------------------------------------------
:2008/04/14: [c4.nz] : 16 shows processed
ERROR: html file "C:\ProgramData\TVxb\cache\TVxb-telstraclear-200804146.html" not downloaded or invalid. Discarding...
------------------------------------------------------
:2008/04/14: [maoritelevision.nz] set:6 : 0 shows processed
WARNING: No shows loaded for [maoritelevision.nz]
Analyzing page to identify valid times, titles, and descriptions
Failed to understand schedule format
ERROR: Giving up on [maoritelevision.nz]
------------------------------------------------------
ERROR: html file "C:\ProgramData\TVxb\cache\TVxb-telstraclear-2008041418.html" not downloaded or invalid. Discarding...
:2008/04/14: [maoritelevision.nz] set:18 : 0 shows processed
WARNING: No shows loaded for [maoritelevision.nz]
Analyzing page to identify valid times, titles, and descriptions
Failed to understand schedule format
ERROR: Giving up on [maoritelevision.nz]
------------------------------------------------------
:2008/04/15: [tv1.nz] : 22 shows processed
:2008/04/15: [tv2.nz] : 34 shows processed
:2008/04/15: [tv3.nz] : 26 shows processed
:2008/04/15: [c4.nz] : 17 shows processed
:2008/04/16: [tv1.nz] : 22 shows processed
:2008/04/16: [tv2.nz] : 34 shows processed
:2008/04/16: [tv3.nz] : 25 shows processed
:2008/04/16: [c4.nz] : 17 shows processed
:2008/04/17: [tv1.nz] : 22 shows processed
:2008/04/17: [tv2.nz] : 34 shows processed
:2008/04/17: [tv3.nz] : 26 shows processed
:2008/04/17: [c4.nz] : 17 shows processed
:2008/04/18: [tv1.nz] : 22 shows processed
:2008/04/18: [tv2.nz] : 34 shows processed
:2008/04/18: [tv3.nz] : 25 shows processed
:2008/04/18: [c4.nz] : 17 shows processed
:2008/04/19: [tv1.nz] : 22 shows processed
:2008/04/19: [tv2.nz] : 34 shows processed
:2008/04/19: [tv3.nz] : 19 shows processed
:2008/04/19: [c4.nz] : 17 shows processed
:2008/04/20: [tv1.nz] : 22 shows processed
:2008/04/20: [tv2.nz] : 34 shows processed
:2008/04/20: [tv3.nz] : 15 shows processed
:2008/04/20: [c4.nz] : 17 shows processed
:2008/04/21: [tv1.nz] : 22 shows processed
:2008/04/21: [tv2.nz] : 34 shows processed
:2008/04/21: [tv3.nz] : 26 shows processed
:2008/04/21: [c4.nz] : 17 shows processed
------------------------------------------------------------------------------
Status: Creating xmltv.xml listings file =C:\WINDOWS\ehome\BladeRunnerPro\GuideData\listing 2.xml...
------------------------------------------------------------------------------
FATAL: failed to open XML output file: "=C:\WINDOWS\ehome\BladeRunnerPro\GuideData\listing 2.xml"
Name Invalid
FATAL: No downloaded programs written to the XMLTV file
Status: Archived old .INI file C:\ProgramData\TVxb\ini\TVxb.ini to C:\ProgramData\TVxb\ini\TVxb-archive-2008-04-14-194918.ini
Status: Revised .INI file C:\ProgramData\TVxb\ini\TVxb.ini now in production
Status: Finished!

------------------------------------------------------------------------------

Now there are a few errors in this logfile and I have no idea what any of them mean, but the bottom of the log where it says "FATAL," well, that doesn't look too good huh? I thought I set the permissions properly, and when I checked again, all looked well.

I hope you can understand this post and maybe throw a fow more suggestions my way.

Thanks.
springa886 (10558)
1 2 3 4 5 6 7 8 9