NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
Triggering GBPVRRecordingService to reload the database.

 
  • 0 Vote(s) - 0 Average
Triggering GBPVRRecordingService to reload the database.
tmrt
Offline

Member

Posts: 188
Threads: 25
Joined: May 2007
#1
2008-03-05, 03:54 PM
I collect EPG automatically from various internet sites. Very often show titles are changed slightly so when I schedule a recurring recording often some shows are missed.

To overcome this problem I wrote a python script which schedules recordings on a basis of similarity in their titles. The script is run in PostUpdateEPG.bat and directly modifies the gbpvr database.

The problem is that GBPVRRecordingService does not immediately recognize modifications of the database. I tried to use "gbpvr -OnlyUpdateEPG" to trigger GBPVRRecordingService to reload pending recordings. Unfortunately this does not work, since it reschedules recurring recordings and deletes some of those that my script schedules because their titles do not match.

Is there another way to trigger GBPVRRecordingService to just reload pending recordings from the database?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#2
2008-03-05, 04:18 PM
You could try running "PVRX2.exe -reloadschedule". It'll tell the recording service that the epg etc has been updated. PVRX2.exe wont be started.
tmrt
Offline

Member

Posts: 188
Threads: 25
Joined: May 2007
#3
2008-03-05, 06:23 PM
sub Wrote:You could try running "PVRX2.exe -reloadschedule". It'll tell the recording service that the epg etc has been updated. PVRX2.exe wont be started.

As I understand this option is not in 1.1.5 release. Where can I find a patch with this option implemented?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#4
2008-03-05, 06:36 PM
Quote:As I understand this option is not in 1.1.5 release.
Ah, you could be right. I couldnt remember exactly when it was included.

Quote:Where can I find a patch with this option implemented?
I dont have a patch for you, but the next release is only a few days away.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Delete recordings from database but not from disk? spinnaker 8 3,859 2013-10-26, 10:51 PM
Last Post: spinnaker
  trying to fake npvr database for unit tests reven 3 2,273 2013-05-20, 08:53 AM
Last Post: reven
  Merged database queries mvallevand 4 2,118 2011-06-26, 09:56 PM
Last Post: mvallevand
  NPVR database questions mvallevand 25 9,889 2011-01-06, 12:58 AM
Last Post: jksmurf
  NPVR database - why so stringy with the fields?? :0) carpeVideo 4 2,065 2010-09-21, 01:48 AM
Last Post: sub
  NPVR Database connection ralphy 4 2,517 2010-09-15, 12:09 AM
Last Post: sub
  How can I reset the Music plugin's database? mkenyon2 1 1,924 2009-10-15, 06:43 PM
Last Post: psycik
  SheduleRecording() locks database cb123 3 2,539 2009-02-14, 06:33 PM
Last Post: sub
  GBPVRX2.Popups.PopupBase - exited, still triggering callbacks psycik 6 2,316 2008-09-30, 11:50 PM
Last Post: psycik
  accessing database fluffykeith 3 1,876 2008-07-09, 05:43 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode