NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 42 43 44 45 46 … 93 Next »
Help - not a NET programmer

 
  • 0 Vote(s) - 0 Average
Help - not a NET programmer
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#1
2007-07-16, 09:10 PM
Help!

I need a program that will duplicate the UpdateEPG command within the Config program:

Run Config.exe
Select the "Capture Sources" tab
Highlight the first source
Click on "Edit" button
Click on "UpdateEPG" button.

I need it to run in the PostUpdateEPG.bat file after updating the XMLTV.

I hope I'm not asking for something weird. If so, please accept my apologies and point me to a non-net solution.

Thanks,
Joe
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#2
2007-07-16, 09:36 PM
why do you need this
im sure if you read the wiki on bat files their is something like this from memory

and why again doesnt this already happen automatcally
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#3
2007-07-16, 10:04 PM
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2007-07-16, 10:05 PM
try gbpvr [or pvrx2.exe] -OnlyUpdateEPG [or -UpdateEPG which runs post processing as well]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#5
2007-07-16, 11:05 PM
jdonth Wrote:Help!

I need a program that will duplicate the UpdateEPG command within the Config program:

Run Config.exe
Select the "Capture Sources" tab
Highlight the first source
Click on "Edit" button
Click on "UpdateEPG" button.

I need it to run in the PostUpdateEPG.bat file after updating the XMLTV.

I hope I'm not asking for something weird. If so, please accept my apologies and point me to a non-net solution.

Thanks,
Joe

You probably should run that in updateepg.bat, it will run the commands in the batfile first (your xmltv appl.) When it's finished it wil update EPG from the generated xml file.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#6
2007-07-16, 11:19 PM
Thanks for the tips and suggestions but gbpvr -OnlyUpdateEPG or running the UpdateEPG.bat file doesn't work for me.

Since I don't know .NET I have been unable to take advantage of the IScheduleHelper class and its associated functions so I am writing directly into the gbpvr.db3 file, inserting reoccurring transactions directly into the RECORDING_SCHEDULE table. (Please don't yell, OK?).

The UpdateEPG logic does NOT repopulate the RECORDING_SCHEDULE from the reoccurring (TYPE 5) transactions. However, the Config program, UpdateEPG button DOES.

I imagine a small program the issues the "Hey, I'm from Config and I want you to really update the EPG" to the GBPVR service.

Any help would be appreciated.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#7
2007-07-16, 11:37 PM
Have you selected "complete epg reload" on gbpvr-config-capture sources?
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#8
2007-07-16, 11:40 PM
Quote:Have you selected "complete epg reload" on gbpvr-config-capture sources?

Yes I have.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#9
2007-07-16, 11:45 PM
Quote:
The UpdateEPG logic does NOT repopulate the RECORDING_SCHEDULE from the reoccurring (TYPE 5) transactions. However, the Config program, UpdateEPG button DOES

What exactly is your problem, what exactly does "repopulate" mean in this context, I'm just curious, I have a lot of re-occurring shows and never have any problems.
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
bgowland
Online

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#10
2007-07-16, 11:53 PM
HtV Wrote:Have you selected "complete epg reload" on gbpvr-config-capture sources?
I believe this only applies to the daily scheduled EPG update and not manual updates.

jdonth Wrote:...so I am writing directly into the gbpvr.db3 file, inserting reoccurring transactions directly into the RECORDING_SCHEDULE table. (Please don't yell, OK?).
But WHAT are you writing into the DB exactly and why? Understanding what it is you're trying to achieve would help.

Have you tried restarting the GBPVR recording service? I'm not sure if this will trigger a full DB schedule scan - can't remember. You can do this from the command-line (or batch file) using NET STOP <servicename>, NET START <servicename>

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


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

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

Linear Mode
Threaded Mode