NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 225 226 227 228 229 … 433 Next »
NPVR Command Line Scheduler?

NPVR Command Line Scheduler?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#11
2011-05-09, 08:45 PM
Ah, I think I know why this happened. Give this a go.

You should be in with the other executables. ie c:\program files\npvr.
vfrvulcan
Offline

Junior Member

Posts: 45
Threads: 5
Joined: Apr 2007
#12
2011-05-09, 09:20 PM
sub Wrote:Ah, I think I know why this happened. Give this a go.

You should be in with the other executables. ie c:\program files\npvr.

Sweet! That worked on the first attempt Smile

Any chance the scheduler can create a folder of the program name instead of bunging it into 'Manual Recordings'?

Ah, just killed my live TV when the manual recording finished - have frozen image on screen and saw the second tuner drop-out but the first still claims Live TV.

Looking good though - many thanks for your efforts.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#13
2011-05-09, 09:28 PM
vfrvulcan Wrote:Sweet! That worked on the first attempt Smile
Great.

Quote:Any chance the scheduler can create a folder of the program name instead of bunging it into 'Manual Recordings'?
I'll try to add an option to do that for the next NPVR release.
vfrvulcan
Offline

Junior Member

Posts: 45
Threads: 5
Joined: Apr 2007
#14
2011-05-09, 09:48 PM
sub Wrote:Great.

I'll try to add an option to do that for the next NPVR release.

Brilliant! Thanks again Sub, I feel another donation coming on...

Second test closed fine without affecting LiveTV.



Cheers

Aaron
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#15
2011-05-09, 09:58 PM
vfrvulcan Wrote:Brilliant! Thanks again Sub, I feel another donation coming on...
sub - have you got your paypal thing sorted out yet?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#16
2011-05-09, 10:31 PM
ACTCMS Wrote:sub - have you got your paypal thing sorted out yet?
No, its a work-in-progress. Takes a few days for them to verify things before my account will be reenabled.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#17
2011-05-13, 02:28 PM
sub Wrote:...it'd be pretty easy for someone to create one using the ScheduleHelper API.
Where is this documented? Searching I found it mentioned but not the API docs themselves.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 107,007
Threads: 770
Joined: Nov 2003
#18
2011-05-13, 04:18 PM
wtg Wrote:Where is this documented? Searching I found it mentioned but not the API docs themselves.
There isnt any documentation on it, but the interface is fairly straight forward. The command line scheduler I posted above used the "ScheduledRecording ScheduleRecording(string name, int channelOID, DateTime startTime, DateTime endTime, int prePadding, int postPadding, DayMask dayMask, int keepCount, RecordingQuality quality)" API.

Code:
namespace NUtility
{
    [Flags]
    public enum DayMask { ANY = 255, SUNDAY = 1, MONDAY = 2, TUESDAY = 4, WEDNESDAY = 8, THURSDAY = 16, FRIDAY = 32, SATURDAY = 64 };
    
    public interface IScheduleHelper
    {
        // one-off and one-off associated with parent
        ScheduledRecording ScheduleRecording(EPGEvent epgEvent, RecordingQuality quality);
        ScheduledRecording ScheduleRecording(EPGEvent epgEvent, int prePadding, int postPadding, RecordingQuality quality);
        ScheduledRecording ScheduleRecording(EPGEvent epgEvent, RecurringRecording recurrenceParent);
        ScheduledRecording ScheduleRecording(string name, int channelOID, DateTime startTime, DateTime endTime, int prePadding, int postPadding, RecordingQuality quality);
        
        // creating new recurring recordings        
        ScheduledRecording ScheduleRecording(EPGEvent epgEvent, int prePadding, int postPadding, DayMask dayMask, int keepCount, RecordingQuality quality, bool timeslot);
        ScheduledRecording ScheduleRecording(string name, int channelOID, DateTime startTime, DateTime endTime, int prePadding, int postPadding, DayMask dayMask, int keepCount, RecordingQuality quality);
        ScheduledRecording ScheduleRecording(string name, int channelOID, DateTime startTime, DateTime endTime, int prePadding, int postPadding, DayMask dayMask, int keepCount, RecordingQuality quality, string advancedRules);

        // cancelling
        void DeleteRecording(ScheduledRecording scheduledRecording);
        void CancelRecording(ScheduledRecording scheduledRecording);
        void CancelRecurring(RecurringRecording recurringRecording);

        // server control
        void ReloadSchedule();
        void ReloadSettings();
        string GetServerStatus();
        string GetMultiAvailable(int captureSourceOID);
    }
}
mad-marco
Offline

Junior Member

Posts: 19
Threads: 4
Joined: May 2010
#19
2011-11-05, 05:46 PM
Holy Crap!!!

I've been away from the forum for a very long time (went back to using GB-PVR). I've just tried the scheduler and it works great, thanks so much for your hard work.

In case any one is interested I've attached the scheduling plugin for DigiGuide that I've butchered together. It adds a right click context to the Windows DigiGuide app that allows you to directly schedule recordings into NPVR via the schedule.exe

Once again, thanks for all your help.

Marco
sfag
Offline

Junior Member

Posts: 28
Threads: 11
Joined: Jan 2009
#20
2012-03-14, 07:53 PM
Anyone still using this?
I use digiguide and would like to schedule recordings from inside digiguide.
I've added the above program(s) and can get the 'video this program with npvr' option when i right click in digiguide but the nvpr does not get the recordings scheduled ?
Any ideas?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,764 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,519 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 12,378 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 2,047 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 3,069 2021-01-04, 02:58 AM
Last Post: tesla1886
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,640 2020-12-27, 02:27 AM
Last Post: sub
  Can NPVR offset only 3 channel listings in EPG? acemib 20 8,051 2020-04-27, 01:28 PM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 6,608 2020-03-03, 12:57 PM
Last Post: Jimixter
  Easiest way to migrate NPVR to a new machine JP23 1 2,234 2020-02-24, 04:55 PM
Last Post: sub
  Web URL Command Failure jcole998 2 1,407 2020-01-26, 06:27 PM
Last Post: jcole998

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

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

Linear Mode
Threaded Mode