[mythtv-users] Changing end time for a recording while the recording is going on

Tako Schotanus quintesse at palacio-cristal.com
Sat Oct 11 13:51:10 EDT 2003



Isaac Richards wrote:

>On Thursday 09 October 2003 11:59 pm, Sabin Dang wrote:
>  
>
>>Hello,
>>
>>I've been recently trying to record various live events (sports, etc)
>>with mythtv. Occasionally these events go over the listed  time limits,
>>and I'd like to be able to tell mythtv to record for an additional 1/2
>>hour or so.
>>
>>Looking through the database structure, I see that there is an endtime
>>field in the record table.  My question is, can I modify the endtime
>>entry while a recording is going on and have the change be registered
>>with mythtv? Or does mythtv preload this information when a recording
>>is started?
>>    
>>
>
>It's stored when the recording is started.
>
>  
>
Not only that, but the .nuv filename for the recording is based on the 
begin and end date/times so just changing the end time will confuse 
MythTV as to which file belong to the recording. When I implemented the 
"Stop Recording" feature I had to add code that actually renamed the 
file to mirror the changes I made in the start/end times. It might be 
necessary to do something similar for a feature like this as well, but I 
can imagine there might be complication when trying to do so for an 
in-progress recording.

-Tako
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20031011/a0ba627e/attachment.htm


More information about the mythtv-users mailing list