NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 35 36 37 38 39 … 93 Next »
getCaptureSource()

 
  • 0 Vote(s) - 0 Average
getCaptureSource()
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,599
Threads: 388
Joined: Dec 2004
#1
2008-01-25, 06:09 PM
The ScheduledRecording.getCaptureSource() method returns an object data type. What do I need to cast it to in order to get the cap. source details (specifically the cap. source oid)? Is it possible?

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,946
Threads: 770
Joined: Nov 2003
#2
2008-01-25, 06:11 PM
Sorry, the internals of that object are hidden.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,599
Threads: 388
Joined: Dec 2004
#3
2008-01-25, 06:33 PM
sub Wrote:Sorry, the internals of that object are hidden.
OK - I had a feeling that may be the case.

I'm trying to work out two things...

1. Next recording time on the cap. source being used by the dvb-t radio exe.
2. Next back to back recording time on any cap. source.

I'm using the ScheduleHelper LoadRecordingSchedule() method to get the schedule - is there any public way of doing the above with this data (or any other public way of doing it)? Or would I be better off with a direct SQL query?

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,946
Threads: 770
Joined: Nov 2003
#4
2008-01-25, 07:23 PM
Unfortunately you might have to run a SQL query to check this.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,599
Threads: 388
Joined: Dec 2004
#5
2008-01-25, 08:15 PM
OK - the SQL query isn't particularly complicated as it turns out and might be more versatile in the long run anyway.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode