<div class="gmail_quote">On Thu, Jan 29, 2009 at 3:31 PM, Brad Templeton <span dir="ltr"><<a href="mailto:brad%2Bmyth@templetons.com">brad+myth@templetons.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Jan 29, 2009 at 09:21:11AM -0400, Mark J. Small wrote:<br>
><br>
> Hi everybody,<br>
><br>
> Last night my wife and I sat down to watch a movie that I had recorded<br>
> recently. It was Bride and Prejudice, a Bollywood version of Jane Austen.<br>
> It was on CBC (Canada eh!) at 1:00 AM sometime in the past few weeks.<br>
><br>
> Well, the schedule information was not quite right and the recording stopped<br>
> after 2 hours. So we missed the end of the movie. Since this is the sort of<br>
> movie that is not likely to be carried at the corner store or the gas station<br>
> (our local DVD options), my wife was quite frustrated that we'll likely never<br>
> get to see the end of the movie.<br>
><br>
> So I need to set a strange recording rule to make sure that this doesn't<br>
> happen again. Here is what I would like.<br>
><br>
> If I'm recording a movie<br>
> If the channel goes off air after the movie<br>
> Add an extra hour to the recording.<br>
><br>
> Is there any way to create such a rule?<br>
<br>
</div>I doubt you can do it automatically. If you made your<br>
requests in another system, like from perl code, you could do<br>
it.<br>
<br>
My personal taste would be something grander, however. I think,<br>
as long as there is disk space, and the tuner is availale (ie. there<br>
is not another recording it has to switch to) mythtv should _always_<br>
record extra on the program. Except this "extra" should be put in<br>
a different file, with these files of extra video purged first when<br>
space is needed.<br>
<br>
Now this is easy to do on linux with the truncate() system call.<br>
It may be harder on some other OS, I don't know.<br>
<br>
Users could go in and use "edit" mode to discard the extra space<br>
right away.<br>
<br>
I think missing the ends of movies is not just a WAF thing.<br>
I think it's very frustrating even for the sophisticated user.<br>
<br>
I would set defaults of:<br>
<br>
Movies: 10% of movie length<br>
Sports & Live events: 30 minutes<br>
General shows: 3-4 minutes -- you can effectively already do this<br>
Shows before off-the-air -- 20% of program length<br>
<br>
<br>
This has really no downside, except that it will start truncating<br>
away the space in autoexpire, so would will need to check the<br>
recording relatively soon, and use Edit mode to apply a cutlist<br>
if you want to preserve beyond the official ending. (I would<br>
code it so that if any cutlist is present, autoexpire would truncate<br>
files from the last "delete after this" cutpoint. This would apply<br>
to any recording, not just ones with padding.)<br>
<br>
I would also add more forward padding too, but in this case,<br>
I would have the playing cursor start at the official start time,<br>
and let me rewind into the padding, rather than have the program<br>
start playing in the padding.<br>
<br>
Another SMOP I probably won't get around to doing...</blockquote><div><br>Myth already does this. At least for 1 category. I have it record extra on sports. It would just need to be expanded to allow for multiple rules<br>
<br>Kevin</div></div><br>