2006-03-20, 05:47 PM
Hi,
I've been working away on a little plugin to allow GB-PVR to work with a SkyStar2 card. So far, I've written a dll (in C++) that can tune the card, set all the PIDS, multiplex the audio and video and dump the file to disk. I've got all this working OK with a separate command line .exe; so it can be semi-integrated with GB-PVR using the ExternalRecorder plugin.
What I'd like to do next is integrate it properly with GB-PVR, i.e. develop a C# plugin that appears as a Recording Source in the config application. The plugin could then call my dll functions to start/stop recording etc.
What's the easiest route to take? I've been looking through normanr's source code for SoftwareRecorder and ExternalRecorder and it seems that the plugin has to implement the IRecordingSource and IRecordingSourceConfiguration members; I've had a quick go at this but can't get the plugin to appear as a recording source (but GBPVRRecordingService.exe.log seems to make reference to it).
Would the best starting point be to modify the ExternalRecorder code (with Norman's permission, of course!) and replace all his calls to a command line program with calls to my dll?
Any advice gratefully received,
Tim
I've been working away on a little plugin to allow GB-PVR to work with a SkyStar2 card. So far, I've written a dll (in C++) that can tune the card, set all the PIDS, multiplex the audio and video and dump the file to disk. I've got all this working OK with a separate command line .exe; so it can be semi-integrated with GB-PVR using the ExternalRecorder plugin.
What I'd like to do next is integrate it properly with GB-PVR, i.e. develop a C# plugin that appears as a Recording Source in the config application. The plugin could then call my dll functions to start/stop recording etc.
What's the easiest route to take? I've been looking through normanr's source code for SoftwareRecorder and ExternalRecorder and it seems that the plugin has to implement the IRecordingSource and IRecordingSourceConfiguration members; I've had a quick go at this but can't get the plugin to appear as a recording source (but GBPVRRecordingService.exe.log seems to make reference to it).
Would the best starting point be to modify the ExternalRecorder code (with Norman's permission, of course!) and replace all his calls to a command line program with calls to my dll?
Any advice gratefully received,
Tim