2008-04-01, 01:48 AM
Hi all, I'm experimenting with a IRecordingSource, IRecordingSourceConfiguration plugin. Have got a stub together that loads and doesn't crash
At the moment I'm not accessing any tuners, just supplying sample mpg files in response to recording requests. At the moment all testing is done with LiveTV (Live PreviewMode off)
Anyway - the questions:
This gets called a lot - should it return an freshly created IRecordingSource or just the one created when my plugin loads.
These appear to serve very similar purposes - startRecording is called when initially starting LiveTV, then startNewFile is called after switching channels. Should I be deleting the old recording filewhen startNewFile is called?
This appears to be the only indicator of which channel I'm meant to switch to and relates to the source channel number in the "Edit Recording Source" dialog. Would this be correct?
Thanks - Lindsay
![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)
At the moment I'm not accessing any tuners, just supplying sample mpg files in response to recording requests. At the moment all testing is done with LiveTV (Live PreviewMode off)
Anyway - the questions:
Code:
IRecordingSourceConfiguration.getRecordingSource()
Code:
IRecordingSource.startRecording
IRecordingSource.startNewFile
These appear to serve very similar purposes - startRecording is called when initially starting LiveTV, then startNewFile is called after switching channels. Should I be deleting the old recording filewhen startNewFile is called?
Code:
channel.analogChannelNumber
Thanks - Lindsay
Lindsay - Trialling GBPVR 1.2.9, XP Pro SP3 RC2, WinFast -1000T, TinyTwin