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
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#11
2007-07-17, 12:44 AM
yip i cant see WHAT your trying to do
it seems what you listed ,is what the epg update will do anyway
if you are using more than one source for your listings then i would have thought having complete reload is the wrong option
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#12
2007-07-17, 01:28 PM
I'm sorry for the confusion. Let me try and respond to some of the suggestions and explain what I am trying to do.

First, what I have done.

I have written a replacement EPG program for the Zap2It listing service that is going away on September 1st. In the course of learning how to do this I thought I'd see if I could automate how I use GB-PVR as well.

I want to be able to set up a reoccurring show from an external program.

This would save me having to go into the Guide and find the show, select "Any time", select "Any day", etc, etc.

For example, if I wanted to record a new television show, Traveler, all I would have to tell my external program is "record all shows with the name "Traveler" and I'm done.

To do that, since I don't know how to program in .NET, I am writing directly to the gbpvr.db3 database, placing a type "5" record (Reoccurring) in the RECORDING_SCHEUDLE table.

What do I mean by populate? When I insert a new type 5 record, and look at the guide via the web server, the new show shows up in the Reoccurring section as expected but there are no episodes in the Pending section. After I "trigger" the software via the Config program, the guide displays the Reoccurring AND the Pending episodes.


When I issue ANY of the following:
Quote:"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG

Quote: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.

Quote:Have you selected "complete epg reload" on gbpvr-config-capture sources?

Quote: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>

there are no Pending episodes for the inserted Reoccurring show.


I appreciate the assistance but so far no one has made any mention of the creation of a utility program to help me. Is what I'm asking do-able? If I need to work within the .NET environment to make this happen, any suggestions on compiler, language, how-to, etc?

Thanks,
Joe
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#13
2007-07-17, 01:47 PM
jdonth Wrote:What do I mean by populate? When I insert a new type 5 record, and look at the guide via the web server, the new show shows up in the Reoccurring section as expected but there are no episodes in the Pending section. After I "trigger" the software via the Config program, the guide displays the Reoccurring AND the Pending episodes.

Ah so there is something that "update epg" in config.exe does to assimilate your db3 entry that the other commands have not done so far. right.

try this (it's a guess but it's worth a stab)

"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyEmptyEPG
"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.”
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#14
2007-07-17, 01:54 PM
I just don't see why you would want to do it through an external program, we all (I guess) have the epg-update automated and do the recording-scheduling through the guide. If I understand you right you are making/using an external program for epg-update and recording-scheduling.:confused:
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
#15
2007-07-17, 02:26 PM
Quote:Ah so there is something that "update epg" in config.exe does to assimilate your db3 entry that the other commands have not done so far. right.

try this (it's a guess but it's worth a stab)

"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyEmptyEPG
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG

I'll give that a try!

Quote:I just don't see why you would want to do it through an external program, we all (I guess) have the epg-update automated and do the recording-scheduling through the guide. If I understand you right you are making/using an external program for epg-update and recording-scheduling.

No, I have a replacement for the Zap2It performing my epg-update.

I just want to automate recording-scheduling so I don't have to use the guide to make recording-scheduling choices.

I use an MVP to watch (and delete) all the episodes that have been recorded. The computer running GB-PVR (and the guide) are in a different room.
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#16
2007-07-17, 02:49 PM
Quote:
Quote:Ah so there is something that "update epg" in config.exe does to assimilate your db3 entry that the other commands have not done so far. right.

try this (it's a guess but it's worth a stab)

"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyEmptyEPG
"C:\Program Files\devnz\gbpvr\GBPVR.exe" -OnlyUpdateEPG
I'll try it

It didn't work Sad
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#17
2007-07-17, 05:05 PM
When you create a season recording, it also needs a record in the programme table.

If you're running the old v0.99.12 release, but didnt apply the patches from the old v0.99.12 survival guide, then this could explain why those command lines arent creating the pending recordings for you.

I only recommend people create recordings using the ScheduleHelper API, as shown in the included web admin code. It takes care of all this stuff, and will make sure you're isolated from database changes.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#18
2007-07-17, 05:15 PM
Quote:I just want to automate recording-scheduling so I don't have to use the guide to make recording-scheduling choices.

I'm probably dumb, but where do you make your recordings-schedule then, you have to see some guide or....:confused:
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
#19
2007-07-17, 05:20 PM
Quote:When you create a season recording, it also needs a record in the programme table.

If you're running the old v0.99.12 release, but didnt apply the patches from the old v0.99.12 survival guide, then this could explain why those command lines arent creating the pending recordings for you.

I only recommend people create recordings using the ScheduleHelper API, as shown in the included web admin code. It takes care of all this stuff, and will make sure you're isolated from database changes.

Sub,

Where can I find the 99.12 patches / Survival Guide?
jdonth
Offline

Member

Posts: 52
Threads: 6
Joined: Sep 2005
#20
2007-07-17, 05:28 PM
Quote:When you create a season recording, it also needs a record in the programme table.

Sub,

What kind of entry do I need to make in the Programme table? When I look at it, it looks like only individual episodes are stored there.

I wish I could use the web admin examples but I have tried to mimic the calls and get nothing in return. I have been following the EWA threads talking about a WebService function to make this type of functionality available but so far have found nothing that would help me.

Is there a set of tools, How-tos, etc that makes this possible for non-.NET programmers?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 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