MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-10-30, 09:32   #1 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Question OnTvRecordingEnded don't send the file name

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 is offline   Reply With Quote
Old 2006-11-24, 22:29   #2 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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?
herman is offline   Reply With Quote
Reply

Bookmarks

Tags
ontvrecordingended, send

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MP & XBMC intergration scripts v0.6d Update 4-MAR-07 thechad Plugins 179 2008-03-18 03:47
0.2.1 and latest svn MyPictures thumbnails broken gloomyandy Codecs, External Players 1 2006-10-24 10:01
TV recording question/problem 'Arry Installation, configuration support 9 2006-09-22 13:14
Recording from TV 'Arry General Support 2 2006-09-20 00:12
Cant get MyTV to work (2.0 RC3)? mdolan General Support 3 2006-03-30 14:58


All times are GMT +1. The time now is 08:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress