NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 44 45 46 47 48 … 93 Next »
How do you get/setthe ReoccuringRecordingExtras for a reoccuring record group?

 
  • 0 Vote(s) - 0 Average
How do you get/setthe ReoccuringRecordingExtras for a reoccuring record group?
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#1
2007-04-17, 12:14 AM
Are there public methods for reading and changing these? Right now I am going direct to the database but I find that causes locking errors somewhere in GBPVR at times (I suspect from the background thread populating the TVGuide).

I am catching unhandled exceptions in my plug-in and this is what it sees:

Code:
04/16/07 12:44:33:040 PM[2]        Unhandled Exception = System.Data.SQLite.SQLiteException
04/16/07 12:44:33:040 PM[2]        Message = The database file is locked
Unable to close due to unfinalised statements
04/16/07 12:44:33:040 PM[2]        Source = System.Data.SQLite
04/16/07 12:44:33:040 PM[2]        InnerException =
04/16/07 12:44:33:040 PM[2]        StackTrace =    at System.Data.SQLite.SQLite3.Close()
   at System.Data.SQLite.SQLiteConnection.Close()
   at System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing)
   at System.Data.SQLite.SQLiteConnection.Finalize()
04/16/07 12:44:33:040 PM[2]        TargetSite = Void Close()
04/16/07 12:44:33:040 PM[2]        Data = System.Collections.ListDictionaryInternal
04/16/07 12:44:33:040 PM[2]        FullText = System.Data.SQLite.SQLiteException: The database file is locked
Unable to close due to unfinalised statements
   at System.Data.SQLite.SQLite3.Close()
   at System.Data.SQLite.SQLiteConnection.Close()
   at System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing)
   at System.Data.SQLite.SQLiteConnection.Finalize()

Jeff
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2007-04-17, 12:32 AM
I'm fairly sure there is APIs for this on ISheduleHelper, but I'm not home at the moment to check.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#3
2007-04-20, 05:50 AM (This post was last modified: 2007-04-20, 07:01 AM by Jeff.)
I looked and I can't find it. I see that I an schedule recordings and include these attributes, but when I read the recordings schedule I don't see how I can see them in the ScheduledRecording object or change them when updating a scheduled recording. I can use getRecordingGroup() to get the group and then look them up directly in the database, but I'd like to avoid that if I can.

Jeff
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#4
2007-04-20, 07:02 AM
Ah, right you are. Actually I think UJB also asked for this post v0.99.12, so I'll try to add it for the next release. For now you might just need to look in the database - sorry!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Channels List by Channel Group Name scJohn 1 2,749 2018-01-05, 10:45 PM
Last Post: mvallevand
  How does NextPVR group recordings for XBMC? spinnaker 2 2,270 2013-11-21, 01:33 AM
Last Post: spinnaker
  Record to File Size "Segments" h0st1le 13 4,137 2008-05-20, 10:48 PM
Last Post: mvallevand
  TV Guide - Record Popup Problem Old Dog 2 1,687 2006-03-09, 04:20 PM
Last Post: Fatman_do
  ReoccuringRecordingExtras - how to apply them to a scheduled recording? alibert 5 1,952 2006-01-20, 05:51 PM
Last Post: sub
  Direct record dogstar 1 1,489 2005-08-26, 07:11 AM
Last Post: reboot
  where does the "record" box for the tv guide get its size/pos? reven 7 2,438 2005-05-27, 04:31 AM
Last Post: reven
  reoccuring + web admin aegisx 0 1,143 2005-01-25, 10:57 PM
Last Post: aegisx
  Add ReOccuring Recordings KingArgyle 5 2,480 2004-12-01, 10:06 PM
Last Post: jorm

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

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

Linear Mode
Threaded Mode