NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 82 83 84 85 86 … 93 Next »
Plugin for manual scheduling of recordings

 
  • 0 Vote(s) - 0 Average
Plugin for manual scheduling of recordings
tschoo
Offline

Junior Member

Posts: 34
Threads: 10
Joined: Nov 2004
#1
2004-12-05, 01:43 PM
I am considering writing a plugin which allows me to schedule recordings by using a command-line program. The straightforward but not very comfortable way would be like follows:
- start gbpvr and activate the AddRecording plugin: gbpvr.exe -direct "Add Recording"
- call a command-line program which communicates with the AddRecording plugin via some IPC mechanism: AddRecordingToGBPVR <recording parameters>
- terminate gbpvr manually after having added the recording.

A more comfortable way would be to start gbpvr without GUI, handing it over the recording parameters via the commandline and than automatically terminating gbpvr, e.g.: 'gbpvr.exe -direct "Add Recording" <recording parameters>'. To do this, I need to know some things and I wonder if someone can help me:
- Is it possible to start gbpvr without a GUI, but activate a plugin?
- Is it possible to access command line parameters of gbpvr by a plugin?
- Is it possible to terminate gbpvr out of a plugin's code?

-tschoo
jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#2
2004-12-05, 03:22 PM
It would probably be way easier to avoid automating GBPVR and just modify the database directly.
JasonF
tschoo
Offline

Junior Member

Posts: 34
Threads: 10
Joined: Nov 2004
#3
2004-12-05, 04:38 PM
Sub wrote in Manual writing into gbpvr.mdb that this method is not recommended.

-tschoo
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#4
2004-12-06, 04:01 AM
Actually, the best way to do this not to use a plugin at all but just make a standard console based application, that processes items from the command line. You can use the Add ReOccuring program I wrote as a basis. It should give you a good starting point, and it doesn't really use the Plugin API, just the other database interfaces for scheduling a recording.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Manual recording API mvallevand 2 1,032 2023-11-09, 02:14 PM
Last Post: mvallevand
  PIP plugin for Kodi sgilani 2 2,895 2022-10-17, 12:44 AM
Last Post: sgilani
  NextPVR web API for scheduling - DayMask mvallevand 28 9,969 2021-05-11, 10:07 PM
Last Post: mvallevand
  New Systems Plugin kirschey 10 3,394 2020-11-14, 08:01 PM
Last Post: sub
  Import/export recordings via API? whurlston 4 3,817 2019-02-19, 11:48 AM
Last Post: Graham
  Conflict recordings scJohn 1 2,595 2018-03-23, 07:43 PM
Last Post: sub
  API / web call for setting recordings Pbathuk 2 3,324 2018-01-13, 05:17 AM
Last Post: Pbathuk
  API access to artwork and deleting recordings cncb 29 15,640 2016-11-06, 02:20 AM
Last Post: mvallevand
  How to move recordings without them getting deleted from db drmargarit 4 3,908 2015-09-27, 05:33 PM
Last Post: sub
  Best approach to creating recurring recordings from c# drmargarit 0 2,626 2015-09-27, 01:32 AM
Last Post: drmargarit

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

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

Linear Mode
Threaded Mode