I found that the OnTvRecordingEnded event does not send back the <RecordingFileName> when the event occurs.
The event has the following parameters
.
The reason why the recording file name is not sent on is because the TVCaptureDeviceEX.cs file has the following logical statement:
When the recording has stopped, IsRecording is false which result in an empty string being returned. I think the recordingFilename parameter is very useful when the recording has stopped and that it only adds more functionality to the code.
Will it be possible for someone to change this logical statement in the code? Is there a reason for this behaviour?
The event has the following parameters
Code:
string recordingFilename, TVRecording recording, TVProgram program
The reason why the recording file name is not sent on is because the TVCaptureDeviceEX.cs file has the following logical statement:
Code:
public string RecordingFileName
{
get
{
if (!IsRecording)
return String.Empty;
if (_recordedTvObject == null)
return String.Empty;
return _recordedTvObject.FileName;
}
}
When the recording has stopped, IsRecording is false which result in an empty string being returned. I think the recordingFilename parameter is very useful when the recording has stopped and that it only adds more functionality to the code.
Will it be possible for someone to change this logical statement in the code? Is there a reason for this behaviour?