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
- 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