[mythtv-users] auto-expired list

Phill Edwards philledwards at gmail.com
Mon May 15 05:29:07 EDT 2006


> I suspect some of my TV shows have automatically expired to make space
> for New recordings is there a method to report on programs which HAVE
> expired or will soon expire based on current recording schedule so I can
> take preventative action.
>
> I know these are listed in information page but I don't visit this page
> on a daily basis, but  is there a simple SQL or script I can run to
> report the  on above criteria?

You could do something like this:

$ grep "autoexpire:" /var/log/mythtv/mythbackend.log

which give this output:
<snip>
2006-05-14 20:30:37.981 autoexpire: Expiring Program: Expiring:
Swordfish Sat May 6 21:30:00 2006 2824 MBytes
2006-05-15 00:55:46.852 autoexpire: Expiring Program: Expiring: Cecil
B. DeMille: American Epic Sun May 7 15:00:00 2006 1228 MBytes
2006-05-15 01:20:47.624 autoexpire: Expiring Program: Expiring: At the
Movies Sun May 7 18:00:00 2006 664 MBytes
2006-05-15 01:30:48.043 autoexpire: Expiring Program: Expiring: Big
Brother Sun May 7 18:30:00 2006 1377 MBytes
2006-05-15 02:15:50.037 autoexpire: Expiring Program: Expiring: Lost
Worlds Sun May 7 19:30:00 2006 1140 MBytes
2006-05-15 02:55:51.808 autoexpire: Expiring Program: Expiring: The
League of Extraordinary Gentlemen Sun May 7 20:30:00 2006 2640 MBytes
</snip>

and then email it to yourself. You could use cut or awk or perl to
pretty it all up a bit.

Regards,
Phill


More information about the mythtv-users mailing list