[mythtv] [mythtv-commits] Ticket #2320: Add a 'watched' flag to recordings

Kevin Kuphal kuphal at dls.net
Thu Sep 7 13:28:04 UTC 2006

Stuart Morgan wrote:
> On Wednesday 06 September 2006 01:11, MythTV wrote:
>> #2320: Add a 'watched' flag to recordings
>>  I'm not sure that 5 minutes from the end is a good switch for 'watched'
>>  here in Aus.  It might work if it took the soft-padding into account -
>>  i.e. 5 minutes from the scheduled end of the program is 'watched', not 5
>>  minutes from the end of the recording.  On my box, the recordings end 20
>>  minutes after the scheduled end of the program.
> It currently uses 10 minutes from the scheduled end of the recording 
> (accounting for padding).
> However the 10 minute figure and the calculation of that threshold may need 
> some work. As it currently stands it won't work on recordings transcoded with 
> a cutlist, I've already got ideas to handle it more reliably.
> 10 minutes might be a little too much for 20 minute recordings, but maybe not 
> enough for films which have long credits and a large break to the next 
> programme. I'm going to play with a sliding scale - unfortunately a straight 
> percentage won't work.
> One thing I can guarantee is that the automatic detection of a 'watched' 
> status will never work 100% of the time. When it doesn't work the fallback 
> will be that they can be flagged manually.
Why not have a range of auto-expiration values (this is what it is used 
for, right?) that are based on the percentage watched or by minutes.  
That way, something I've watched 10% of will not be expired before 
something I've watched 90% of, or visa-versa depending on the logic.  
Trying to determine a threshold for a cutoff may be a losing proposition 
but something that scaled auto-expiration priority by the percentage of 
the show watched would get things right almost all the time.


More information about the mythtv-dev mailing list