NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 23 24 25 26 27 … 93 Next »
Getting reoccurring extras info

 
  • 0 Vote(s) - 0 Average
Getting reoccurring extras info
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#1
2009-08-28, 03:55 AM
Calling ScheduleHelper.SheduleRecording with type TYPE_RECORD_WEEKLY seems to ignore the maxFiles argument. I worked around by using TYPE_RECORD_SEASON with a dayMask but then I need to be able to read back the dayMask.

Is there an API to query the REOCCURING_EXTRAS table specifically the max_files and day_mask fields? I can see a ReoccuringRecordingExtras class but what call gives me an instance of that class for a specific recording?

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#2
2009-08-28, 04:19 AM
The max_files and day_mask settings only apply to season recordings, or at least that was my intention, so those settings are only applied for TYPE_RECORD_SEASON.
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#3
2009-08-28, 02:02 PM
Ok. Then how can I ask a scheduled recording what its dayMask is? I need that so when I display reoccurring recordings I can distinguish the ones that are weekly. I used to rely on the type being TYPE_RECORD_WEEKLY but now they are TYPE_RECORD_SEASON with a dayMask.

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#4
2009-08-28, 05:18 PM
These are entirely different types of recordings, and cant be used for the same thing.

TYPE_RECORD_WEEKLY is a manual recording, and has a start and end time.

TYPE_RECORD_SEASON has a show name used for matching shows. It can also have a start/end time of the scheduling window, but this is only used to further narrow down the search for shows with the correct name.
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#5
2009-08-28, 06:16 PM
Great, so by switching to TYPE_RECORD_SEASON I'm fixing a bug from the original XSuite author who was using TYPE_RECORD_WEEKLY in the wrong situation.

So how can I see if there's a dayMask on an existing scheduled recording? XSuite display's type as "Record Season (this timeslot and channel)" or "Record Season (weekly, timeslot and channel)" and only the dayMask distinguishes these two TYPE_RECORD_SEASON.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#6
2009-08-28, 06:23 PM
Unfortunately the SchedulerHelper API doesnt expose this info currently. You'd probably have to look directly in the database to check it.
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#7
2009-08-28, 06:47 PM
Got it. Thanks for all the info.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Extras device - using hardware video encoder gdogg371 6 3,275 2021-03-09, 12:18 AM
Last Post: gdogg371
  API (URL Info?) arrmo 14 14,330 2015-08-26, 02:04 PM
Last Post: arrmo
  Timing.Info question mvallevand 2 2,081 2013-04-19, 03:54 AM
Last Post: mvallevand
  NPVR 2.x recordings metadata and timing.info whurlston 4 2,870 2012-08-01, 06:19 PM
Last Post: whurlston
  GetRenderList() always called with "block-extras..." element in renderlist alibert 1 1,638 2012-06-18, 10:24 AM
Last Post: sub
  DVD info lookup via WMP? McBainUK 20 9,756 2010-07-23, 09:55 PM
Last Post: whurlston
  DVB-S tuning info bgowland 11 3,941 2008-12-08, 11:37 PM
Last Post: bgowland
  EXIF info ACTCMS 5 2,278 2008-07-11, 02:27 AM
Last Post: bgowland
  Function to provide more info on playing video? markm 3 1,972 2007-09-16, 02:19 PM
Last Post: ralphy
  Video OSD plugin - Current channel info McBainUK 4 1,908 2006-09-21, 01:34 AM
Last Post: tipstir

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

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

Linear Mode
Threaded Mode