[mythtv] Re: [mythtv-commits] Re: Ticket #821: autoexpire doesn't

Adam Egger mythtv2005 at bdam.de
Wed Jan 4 16:29:36 UTC 2006


On 1/4/06, Daniel Kristjansson <danielk at cuymedia.net> wrote:
> On Tue, 2006-01-03 at 00:41 -0500, Chris Pinkham wrote:
> > > 8468 didn't fix the issue for me:
> > > select starttime, endtime, basename from recorded where recgroup =3D
> > > "LiveTV"order by starttime;
> > > +---------------------+---------------------+-------------------------+
> > > | starttime           | endtime             | basename                |
> > > +---------------------+---------------------+-------------------------+
> > > | 2006-01-01 23:45:23 | 2006-01-02 00:00:00 | 4102_20060101234523.mpg |
> > > | 2006-01-01 23:45:39 | 2006-01-01 23:46:00 | 4101_20060101234539.mpg |
> > > | 2006-01-01 23:45:43 | 2006-01-01 23:47:00 | 4101_20060101234543.mpg |
> > > +---------------------+---------------------+-------------------------+
>
> > I don't know that code at all, so I think it might be better to defer
> > to Daniel on this one if this code is working properly for the other
> > recorders.
>
> Some questions to get me started...

I'll try to answer your questions based on the third file in my list:
mysql> SELECT basename,starttime,endtime  FROM recorded WHERE recgroup
= 'LiveTV' order by starttime desc;

| 1515_20060102230840.mpg | 2006-01-02 23:08:40 | 2006-01-02 23:20:00 |
| 1033_20060102230709.mpg | 2006-01-02 23:07:09 | 2006-01-02 23:15:00 |
| 8_20060102230655.mpg    | 2006-01-02 23:06:55 | 2006-01-02 23:55:00 |

> Q1. Is the backend complaining about not being able to auto-expire
> recordings because the files do not exits?
>
> It would look something like:
> 2006-01-04 01:26:47.939 AutoExpire: ERROR when trying to autoexpire
> file: /video/mythtv/1012_20060103141008.nuv. File doesn't exist.
> Database metadata will not be removed.
> That might explain why recordings 2 & 3 didn't get deleted.

Yes, I see this message very often.

> Q2. As for the first one, what is the size of 4102_20060101234523.mpg?

$ll 8_20060102230655.mpg -h
-rw-r--r-- 1 beavis beavis 5,5M 2006-01-02 23:07 8_20060102230655.mpg

> Q3. Is it a dummy recording? (mostly blank screen.)

No, it's always a real recording.

> Q4. Was it created by the first channel tuned to, or a later one?

All LiveTV recordings are getting stuck.

> Q5. Did the channel tune in fully, or was the dummy recorder still
> running when you switched to the new channel?

The first three or four attempts to switch channels work perfectly and
they always produce stucking entries in the LiveTV list with the
watched content.

It just sometimes gets stuck on the old channel (without audio) and I
have to kill the frontend. Sometimes I have to start LiveTV two or
three times but those seem to be different issues.

Should I open tickets for any of those problems? (1. LiveTV entries
getting stuck, 2. LiveTV fails to start initially, 3. FE getting stuck
on channel changes occasionaly).

Adam


More information about the mythtv-dev mailing list