NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 206 207 208 209 210 … 1231 Next »
UpdateEPG confusion

 
  • 0 Vote(s) - 0 Average
UpdateEPG confusion
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#11
2008-12-17, 05:22 PM (This post was last modified: 2008-12-17, 05:34 PM by zehd.)
First Gazoo, I apologise. Normally I can bite my tongue, and this time I can't. However I will try to reread this post several times before I send...

This is not specifically to you

---

It's time for directives rather than suggestions. While sub checks the logs (I highly doubt that GB-PVR failed...), Here are some must haves. Also, I'd rather be Black and White here rather than completly technically accurate.




[SIZE="4"]Making sure the UpdateEPG.bat is being called[/SIZE]

The batch file is UpdateEPG.bat. Think of it as case sensitive. (I don't care if it isn't, let's just be consistent)

EPG time is set in config. When time arrives, UpdateEPG.bat WILL be called. No ifs ands or buts...

Set service to interact with desktop I have not tested otherways, but don't care. I use UltraXMLTV Enhancer and that REQUIRES it, so point is moot if you are using it too.

You do not need to wait until the night to test. Right-click on tray icon and click Update EPG. It calls the batch file and then then updates. If this isn 't working, then your system is broken. Period. (see interact with desktop)

You WILL NOT see the batch file run! If you want to see what's hapening, open a Task Manager and then Update the EPG (see above). GB-PVR hides the batch file when it launches it (Ultra does force itself to be seen, so that is one way to know that it's working. You can also use the log entries that dennit suggested...





[SIZE="4"]Making sure the UpdateEPG.bat is calling the Grabber and Enhancer automatically and requiring no user interaction.[/SIZE]

Now that we know that the UpdateEPG.bat is being called, it's time to make sure that everything inside the batch file happens correctly...

Paths: I'm in the habit of always switching to the folder of the app being called. Just like you showed you are doing. Make sure that you explicitly use full path for xmltv file in both grabber and enhancer. Try not to use paths with spaces in it ('Program Files'). It just avoides problems down the road...

Grabber: OUR wiki gives very straightforward instructions on using mc2xml. It goes beyond the author's site. If you follow our instructions you won't have problems...

Microsoft/Zap2it are known to be tardy on updating their listings. getting 10-12 days is good, and don't worry. the -f switch just forces a new download, and if there's nothing new, you just wasted a few seconds and some bandwidth.

Enhancer: you already know the wiki shows how to put the enhnacer in the batch file. I would make sure that you are using the very latest from the New Release thread http://forums.nextpvr.com/showthread.php...post313636

UpdateEPG.bat
Code:
c:
  cd\
  cd C:\EPG\Grabbers\mc2xml

  mc2xml -D 1.dat -f -c ca -g T2Z1Z1 -o [color=Navy]C:\EPG\xmltv_1.xml[/color]

  c:
  cd\
  cd C:\EPG\UltraXMLTV

  UltraXMLTV_Enhancer.exe [color=Navy]C:\EPG\xmltv_1.xml[/color]

ca is for canada, and the -g is for a (fake) canadian postal code. Change to suit
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
gazoo
Offline

Posting Freak

Posts: 781
Threads: 118
Joined: Jan 2008
#12
2008-12-17, 06:13 PM
It looks like it's actually happening, but you might be able to glean more information from the logs..

[SIZE="1"]Server rebuild:GIGABYTE GA-MA78GM-S2H, CPU AMD X2 4850e 2.5GHz 45W,2GB RAM,500GB HD,Hauppauge HVR-1600,Vista Ultimate SP1,IN WIN BK623 Mini case
Client:ASUS AMD M3A78-EMH HDMI motherboard,CPU AMD64 X2 3800+,2GB RAM,200GB HD,ATI HD3200 integrated graphics, WIN XP SP2 Pro,MCE303 case, 2x16 VFD, Irtrans MCE remote [/SIZE]
[SIZE="1"] How to Build your own GB-PVR HTPC computer[/SIZE]
[SIZE="1"]GB-PVR in action on YouTube[/SIZE]
gazoo
Offline

Posting Freak

Posts: 781
Threads: 118
Joined: Jan 2008
#13
2008-12-17, 06:19 PM
Zehd, you're fine. I should know how to do this by now. I'm pretty sure I'm doing all the steps in your post (which I know to be in the wiki). I posted the logs to make sure.

I never did the clean out when I switched EPG sources because everything does seem to work, but you can see from the logs that there's still remnants from the old EPG in there. I don't care as long as it finally works though - if it ain't broke, don't fix it and all that.

I just ran the update manually and I have 12 days, so that's probably fine. If it starts to get down to like 9 days and I can't solve it, I will repost.

Thanks for the help, much appreciated.

[SIZE="1"]Server rebuild:GIGABYTE GA-MA78GM-S2H, CPU AMD X2 4850e 2.5GHz 45W,2GB RAM,500GB HD,Hauppauge HVR-1600,Vista Ultimate SP1,IN WIN BK623 Mini case
Client:ASUS AMD M3A78-EMH HDMI motherboard,CPU AMD64 X2 3800+,2GB RAM,200GB HD,ATI HD3200 integrated graphics, WIN XP SP2 Pro,MCE303 case, 2x16 VFD, Irtrans MCE remote [/SIZE]
[SIZE="1"] How to Build your own GB-PVR HTPC computer[/SIZE]
[SIZE="1"]GB-PVR in action on YouTube[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#14
2008-12-17, 06:29 PM
gazoo Wrote:It looks like it's actually happening, but you might be able to glean more information from the logs..
Yep. GB-PVR seems to be doing its bit and running UpdateEPG.bat, so it looks like your problem is whatever you've put inside the UpdateEPG.bat.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2008-12-17, 06:59 PM
gazoo Wrote:I don't care as long as it finally works though - if it ain't broke, don't fix it and all that.

You will hurt nothing to run the ChangeEPGSources batch, and only lose some time, but clean things and prevent problems down the road.

A really quick way to change your sources in your current situation (and this assumes a current xmltv file - enhanced or not) Is to edit the UpdateEPG.bat and place the word 'exit' on the very first line. That will exit the Update Batch before anything else is called, but GB-PVR's EPG will continue on merrily and import your existing xmltv file.

The ChangeEPG Batch will run through your update twice, and all will be clean and glorious. Then you remove the 'exit' from the batch file and you're ready for tonight.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#16
2008-12-17, 08:40 PM
zehd Wrote:First Gazoo, I apologise. Normally I can bite my tongue, and this time I can't. However I will try to reread this post several times before I send...
This is not specifically to you

I hope I didn't say anything to annoy you. It certainly wasn't my intention.
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#17
2008-12-17, 08:45 PM
zehd Wrote:You will hurt nothing to run the ChangeEPGSources batch, and only lose some time, but clean things and prevent problems down the road.

It's a nice batch file - I learned some tricks looking through it. I noticed, however, that it wipes all EPG and recording source related info, so it's not for use by someone who has multiple recording sources and wants to change only one of them.

I also liked your "exit" at the start of UpdateEPG.bat trick.
SLR_65
Offline

Senior Member

Posts: 472
Threads: 61
Joined: May 2008
#18
2008-12-17, 08:46 PM
I'm having a similar issue, it's been going on a couple weeks but I've been busy so I just keep manually updating it.

If I hit update the epg from the system screen within GBPVR it updates fine, it just doesn't seem to be calling it automatically.

Attached is the log file.

UpdateEPG.bat does exist in the Devnz directory (and again, GBPVR does find it when updating manually).

The UpdateEPG.bat consists of:

@echo off

Rem Get EPG data from Schedules Direct
cd c:\EPG\XMLTV_Grabber
xmltv.exe tv_grab_na_dd --days 9 --output c:\EPG\EPG.xml

Rem Call the enhancer
cd c:\EPG\UltraXMLTV_Enhancer
c:\epg\UltraXMLTV_Enhancer\UltraXMLTV_Enhancer.exe c:\epg\epg.xml

Any thoughts on where to start troubleshooting would be greatly appreciated.

Steve
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#19
2008-12-17, 08:53 PM
SLR_65 Wrote:If I hit update the epg from the system screen within GBPVR it updates fine, it just doesn't seem to be calling it ...

Any thoughts on where to start troubleshooting would be greatly appreciated.

Steve

I'd check the "Set service to interact with desktop" on the GBPVR recording service properties screen as a first step.

As a second step - how many channels do you have?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#20
2008-12-17, 09:17 PM (This post was last modified: 2008-12-17, 09:21 PM by zehd.)
dennit Wrote:It's a nice batch file - I learned some tricks looking through it. I noticed, however, that it wipes all EPG and recording source related info, so it's not for use by someone who has multiple recording sources and wants to change only one of them.

I also liked your "exit" at the start of UpdateEPG.bat trick.

Actually, the batch saves the recording schedule and then reimports it at the end. It will work for multiple tuners too so long as:

The only caveat is for digital tuners (QAM, Satelite, etc) It doesn't rebuild the mapping. It's something that I may work into now that I have a 1600

As I mentioned at the beginning of my rant, it was not directed at gazoo. I should have meant anyone specific.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with updateEPG.bat? Seems to run in a loop, unpredictable aberson 4 1,964 2010-08-23, 07:56 PM
Last Post: sub
  Lost in a sea of Acronyms. Confusion is running amuck in my head Talcum 8 2,918 2010-04-12, 08:07 AM
Last Post: ga_mueller
  Dual Tuner Device Confusion phil0909 37 8,736 2009-11-09, 11:35 PM
Last Post: phil0909
  UpdateEPG in System session... zehd 8 3,016 2009-02-24, 12:02 AM
Last Post: zehd
  EPG confusion in 1.3.11 rycher 2 1,390 2009-02-19, 03:02 AM
Last Post: rycher
  EPG confusion proceng 3 1,861 2009-01-13, 08:37 PM
Last Post: JonnyCam
  UpdateEPG.bat not working? SLR_65 2 1,695 2008-12-05, 02:17 AM
Last Post: SLR_65
  missing UpdateEPG.bat srhutch 3 1,805 2008-11-29, 07:35 AM
Last Post: zehd
  Updateepg.bat feilh 15 4,759 2008-11-28, 09:41 PM
Last Post: feilh
  Client mode HD/SD File-Sharing/Streaming confusion JavaWiz 7 2,905 2008-01-22, 09:29 PM
Last Post: pBS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode