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 … 153 154 155 156 157 … 1231 Next »
xmltv.xml file corrupts my gbpvr.db3

 
  • 0 Vote(s) - 0 Average
xmltv.xml file corrupts my gbpvr.db3
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#21
2009-03-18, 05:53 PM
ok here are my exact steps:

I have a batch file on my desktop that I run. It has one line:

"C:\Program Files\Devnz\GBPVR\listings\mc2xml.exe" -c us -g 16801

after it creates my xmltv.xml file I right click on my GBPVR Tray icon and select:

UpdateEPG

Thats all. Nothing else too it. I dont mess with anything called UpdateEPG.bat

What could I be doing wrong?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#22
2009-03-18, 06:58 PM
curt1s Wrote:ok here are my exact steps:

I have a batch file on my desktop that I run. It has one line:

"C:\Program Files\Devnz\GBPVR\listings\mc2xml.exe" -c us -g 16801

after it creates my xmltv.xml file I right click on my GBPVR Tray icon and select:

UpdateEPG

Thats all. Nothing else too it. I don't mess with anything called UpdateEPG.bat

What could I be doing wrong?

You're right it seems simple enough.

After rewriting my reply to you, and editing myself a lot, I think I know what is wrong: why it works manually but not with GB-PVR UpdateEPG.bat

You really need a 'change directory' (cd) at the beginning of the batch file, so that mc2xml can be sure what the working directory is. If you're using the UpdateEPG.bat (in fact the docs from the mc2xml web site say the same...)

Edit your batch file:

Code:
c:
cd\
cd "C:\Program Files\Devnz\GBPVR\listings"
mc2xml.exe -c us -g 16801

Once you know that this is still working, copy that text into the UpdateEPG.bat.

Personally, I would explicitly define the dat file and the outfile because this can avoid further trouble down the line... (you could set it for multiple listings)

Code:
mc2xml.exe -D mc2xml.dat -c us -g 16801 -o xmltv.xml
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]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#23
2009-03-18, 07:02 PM
And your capture source must be pointing to

Code:
"C:\Program Files\Devnz\GBPVR\listings\xmltv.xml"
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]
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#24
2009-03-18, 07:14 PM
How can this be the problem though? My xmltv.xml gets generated fine from running my batch file?

also I dont use UpdateEPG.bat

Do I have to use it? I do my updates manually.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#25
2009-03-18, 11:42 PM (This post was last modified: 2009-03-18, 11:47 PM by zehd.)
curt1s Wrote:How can this be the problem though? My xmltv.xml gets generated fine from running my batch file?

also I dont use UpdateEPG.bat

Do I have to use it? I do my updates manually.

When you click Update EPG, it first calls the UpdateEPG.bat. If you aren't using it, then GB-PVR will use whatever xmltv file is where it expects it to be. It assumes that a new file is in place...

If you are able to run the batch and create a valid xmltv file, and then (without using UpdateEPG.bat,) you update the EPG, and that works, then what's the problem? Your original thread says that updating corrupts the database, yet you say that your are able to get it when you do it manually, if you empty the epg first...

Well I guess you could just add the command line at the end of your batch file...

Code:
c:
cd\
cd "C:\Program Files\Devnz\GBPVR\listings"

mc2xml.exe -D mc2xml.dat -c us -g 16801 -o xmltv.xml

cd\
cd "C:\Program Files\Devnz\GBPVR"

[B]pvrx2.exe -EmptyEPGOnly[/B]

This shouldn't be necessary though. I hope it works, because it is really looking like something that only a 'delete database and start over' will fix
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]
curt1s
Offline

Member

Posts: 94
Threads: 31
Joined: Jul 2006
#26
2009-03-19, 07:58 PM
OK I have narrowed down the bug.. it only happens when I update the EPG from the tray right click menu.

If I update the EPG form the config.exe app, it works.

This seems like a legitimate bug, not just something that happens to me. I tested it on 3 machines.

sub, is the code different between these update EPG calls?

So to reproduce the bug:

create the xmltv.xml with mc2xml
right click on GBPVR tracy icon and select UpdateEPG
(if this is the first time you did this the bug wont happen, but if you do it again all your shows will say (no show details))

Thanks,
Curt
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#27
2009-03-19, 08:18 PM
Quote:OK I have narrowed down the bug.. it only happens when I update the EPG from the tray right click menu.

If I update the EPG form the config.exe app, it works.

This seems like a legitimate bug, not just something that happens to me. I tested it on 3 machines.

sub, is the code different between these update EPG calls?
The call from the capture source 'update epg' button is a little different than the other places that update the epg. Specifically, it only deals with a single capture source. The others (tray app, system screen, or automated update) deal with all capture sources and do the empty epg first etc.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use IR server suite with GBPVR zaprat 82 63,404 2018-11-18, 05:32 PM
Last Post: Len_Lekx
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,756 2014-05-15, 12:59 AM
Last Post: lchiu7
  GBPVR and NPVR jigster99 2 5,229 2013-02-16, 01:50 AM
Last Post: jigster99
  BBC HD / BBD 1 HD in GBPVR Pob 21 13,790 2012-10-05, 05:42 PM
Last Post: Pob
  file types of recorded TV paul1 3 3,760 2012-09-30, 05:20 PM
Last Post: sub
  tv guide empty in gbpvr works in pvrx2 slowtech 37 17,624 2012-08-27, 04:00 PM
Last Post: rscheller
  Unused gbpvr returns to life with minimal effort KS4UA 0 2,397 2012-03-18, 02:07 AM
Last Post: KS4UA
  XMLTV Updates? phillyjim 1 2,734 2011-12-21, 04:46 PM
Last Post: pcostanza
  Last version of GBPVR download? matthrolf 8 6,586 2011-11-16, 09:22 AM
Last Post: MixMan
  Is card emulation as easy with gbpvr as with npvr? martint123 3 3,483 2011-10-20, 07:13 PM
Last Post: martint123

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

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

Linear Mode
Threaded Mode