[mythtv-users] Program auto-expired within 30 seconds of recording

Frank Hartmann soundart at gmx.net
Sat Jan 28 17:54:52 UTC 2012


"Michael T. Dean" <mtdean at thirdcontact.com> writes:

> On 01/28/2012 07:10 AM, Frank Hartmann wrote:
>> R KANNAN writes:
>>
>>> I had scheduled to record a program to record from 10:59 PM to 12:01 AM
>>> yesterday. Within 30 seconds of completing the recording the recording
>>> Auto-expired and was deleted. There is a 'libpng' error and a  'Preview Error'
>>> which might be the reason for the program to be deleted.
>>>
>>> Any ideas on what could have gone wrong??
>> the same happened here. It was not one of my normal regular expression
>> based recordings, but a single recording of a movie.
>>
>> My current theorie is, that some priorities are assigned to different
>> type of recordings somewhere. And that the deletion of records is
>> based on a score calculated by the recordings age and priority.
>>
>> After some clicking I found something like "delate oldest" records
>> first. It did not happen since, but I did not record something that way
>> either.
>>
>> Sorry for the vague menue descriptions, I do not have English as menu
>> language.
>
> http://www.gossamer-threads.com/lists/mythtv/commits/439021#439021
> and
> http://www.gossamer-threads.com/lists/mythtv/commits/448946#448946
>
> Therefore, auto-expired is /not/ a factor when determining where to 
> write new recordings.  Because auto-expire is done on a per-filesystem 
> basis, and may only choose from shows you have marked to allow 
> auto-expire, and is performed such that the first shows expired are 
> Deleted recordings, then Live TV recordings, then normal recordings 
> based on the value you've selected for:
>
> Auto-Expire method
> - Oldest show first
> - Lowest priority first
> - Weighted time/priority combination
> Method used to determine which recorded shows to delete first. LiveTV 
> recordings will always expire before normal recordings.
>
> but in such a way that if you enable:
>
> Watched before unwatched
> If enabled, programs that have been marked as watched will be expired 
> before programs that have not been watched.
>
> shows marked as Watched are sorted using the specified Auto-Expire 
> method and will all be expired before shows not marked as 
> Watched--regardless of the expiration priority determined through the 
> Auto-Expire method (i.e. if it's marked as Watched, a recording with a 
> very low Auto-Expire "priority" will be deleted before an unwatched 
> recording with a very high Auto-Expire "priority").
>
> It's quite possible there was nothing else on that particular file 
> system that MythTV could expire, or that some factor--such as Watched 
> status--meant that the recording was supposed to expire first.
>
> Note, also, the setting:
>
> Automatically mark a recording as watched
> If enabled, when you exit near the end of a recording it will be marked 
> as watched. The automatic detection is not foolproof, so do not enable 
> this setting if you don't want an unwatched recording marked as watched.
>
> (which means that a recording that you've never actually watched could 
> be marked as watched if you open it, then jump to "near" the end, then 
> exit playback).
>
> Note that the ticket on which I posted those replies is closed, so 
> please do not add anything to that ticket.  If you think there's a 
> problem, please post--to here--a log file of the master mythbackend run 
> with (assuming 0.24-fixes) -v file,extra and showing it expiring a 
> program you think should not be expired, along with the "Disk Usage" 
> sections of the "Machine Information" section of your backend status page.
>
> Thanks,
> Mike


Hello Mike,

I cannot quite follow you :) I am not sure if my theory is wrong or
not. Some sort of mental barrier blocks me currently.

I can provide my log file in case it is of interest: Search for "James
Bond" 

My mythtv says: "mythbackend version: [v0.24.1+] www.mythtv.org". It is
a single LNB DVB-S system. It looks like mythtv was recording two shows
in parallel at the time it was happening. This is quite rare here and is
only possible for certain channels.

I would guess my disk (I have only one filesystem except swap and maybe
/boot) was full as always at the time it was happening, not sure though.

kind regards
  Frank

2012-01-14 20:15:02.281 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:15:03.335 Updating status for "James Bond 007 - Die Welt ist nicht genug":"Spielfilm Grobritannien / USA 1999 (The World is not enough)" on cardid 2 (Tuning => Recording)
2012-01-14 20:15:03.394 TVRec(2): rec->GetPathname(): '/var/lib/mythtv/standard/12100_20120114201500.mpg'
2012-01-14 20:16:01.380 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:16:23.701 adding: percy as a client (events: 2)
2012-01-14 20:23:01.646 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:30:01.954 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:37:02.259 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:44:02.519 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:51:02.777 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 20:58:03.047 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:05:03.308 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:12:03.554 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:19:03.807 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:26:04.108 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:33:04.384 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:40:04.639 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:44:29.822 TVRec(3): ASK_RECORDING 3 29 0 0
2012-01-14 21:44:29.941 TVRec(4): ASK_RECORDING 4 29 0 0
2012-01-14 21:44:29.954 TVRec(2): ASK_RECORDING 2 29 0 0
2012-01-14 21:44:30.594 TVRec(1): ASK_RECORDING 1 29 0 0
2012-01-14 21:45:02.756 TVRec(1): Changing from RecordingOnly to None
2012-01-14 21:45:06.063 TVRec(1): Changing from None to RecordingOnly
2012-01-14 21:45:06.203 TVRec(1): HW Tuner: 1->1
2012-01-14 21:45:06.383 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:45:06.624 Updating status for "Stubbe - Von Fall zu Fall":"In dieser Nacht" on cardid 1 (Recording => Recorded)
2012-01-14 21:45:06.983 Updating status for "Kommissar Stolberg":"Der Mann, der weint" on cardid 1 (Tuning => Recording)
2012-01-14 21:45:06.993 adding: percy as a client (events: 0)
2012-01-14 21:45:07.044 TVRec(1): rec->GetPathname(): '/var/lib/mythtv/standard/12110_20120114214500.mpg'
2012-01-14 21:45:07.095 adding: percy as a client (events: 1)
2012-01-14 21:47:04.897 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 21:54:05.178 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 22:01:05.437 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 22:08:05.689 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 22:11:58.648 adding: percy as a client (events: 0)
2012-01-14 22:11:58.692 adding: percy as a client (events: 1)
2012-01-14 22:12:47.507 ProgramInfo(12110_20111230210500.mpg), Error: GetPlaybackURL: '12110_20111230210500.mpg' should be local, but it can not be found.
2012-01-14 22:12:48.848 adding: percy as a client (events: 0)
2012-01-14 22:12:48.850 adding: percy as a client (events: 0)
2012-01-14 22:12:48.903 adding: percy as a client (events: 1)
2012-01-14 22:12:48.937 adding: percy as a client (events: 1)
2012-01-14 22:15:05.934 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 22:22:06.174 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 7 min
2012-01-14 22:25:00.695 TVRec(2): Changing from RecordingOnly to None
2012-01-14 22:25:00.803 Updating status for "James Bond 007 - Die Welt ist nicht genug":"Spielfilm Grobritannien / USA 1999 (The World is not enough)" on cardid 2 (Recording => Recorded)
2012-01-14 22:25:01.177 MainServer, Error: PREVIEW_SUCCESS but no receivers.
2012-01-14 22:29:06.349 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 14 min
2012-01-14 22:29:06.480 Expiring 12644 MB for 12100 at 2012-01-14T20:15:00 => "James Bond 007 - Die Welt ist nicht genug":"Spielfilm Grobritannien / USA 1999 (The World is not enough)"
2012-01-14 22:29:06.788 ProgramInfo(12110_20111230210500.mpg), Error: GetPlaybackURL: '12110_20111230210500.mpg' should be local, but it can not be found.
2012-01-14 22:29:13.726 ProgramInfo(12110_20111230210500.mpg), Error: GetPlaybackURL: '12110_20111230210500.mpg' should be local, but it can not be found.
2012-01-14 22:43:06.564 AutoExpire: CalcParams(): Max required Free Space: 17.0 GB w/freq: 14 min
2012-01-14 22:55:00.494 TVRec(1): Changing from RecordingOnly to None
2012-01-14 22:55:00.861 Updating status for "Kommissar Stolberg":"Der Mann, der weint" on cardid 1 (Recording => Recorded)




More information about the mythtv-users mailing list