OnTvRecordingEnded don't send the file name (1 Viewer)

herman

Portal Member
August 30, 2006
7
0
I found that the OnTvRecordingEnded event does not send back the <RecordingFileName> when the event occurs.

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?
 

herman

Portal Member
August 30, 2006
7
0
What is the process of getting the RecordingFileName property changed? Only the following 2 lines should be commented out or deleted.

// if (!IsRecording)
// return String.Empty;

Can someone who is responsible for the source maybe check it out and make the update please?
 

Users who are viewing this thread

Top Bottom