[mythtv-users] Anybody have any alerts set up on failed recordings?
Andrew Leech
coronasensei at gmail.com
Fri Mar 2 02:04:10 UTC 2012
On 2/03/2012 12:44 PM, Matt Mossholder wrote:
> On Thu, Mar 1, 2012 at 8:03 PM, Larry K <lunchtimelarry at gmail.com
> <mailto:lunchtimelarry at gmail.com>> wrote:
>
> On Thu, Mar 1, 2012 at 7:53 PM, Matt Emmott <memmott at gmail.com
> <mailto:memmott at gmail.com>> wrote:
>
> I have an occasionally-recurring problem where my HDHomeRun
> Prime, or at least the Charter Tuning Adapter, loses its
> connection. When this happens, recordings that use the
> cablecard (pretty much anything that isn't available on QAM)
> fail. I came home today and had a boatload of failed
> recordings. When this happens I have to reboot the Tuning
> Adapter and HDHomeRun before I can tune those channels again.
>
> I was wondering if anybody had set up any kind of alerting,
> preferably using email, when recordings fail. I haven't looked
> into it that deeply yet, perhaps using procmail and the
> mythbackend.log, or the system events feature that I
> admittedly haven't looked into very deeply.
>
> I'm open to any ideas. Thanks!
>
>
> I just have a simple script I run with cron to scan the log and
> send me an email. You can grep for whatever message you care
> about. Not very sophisticated, but it mostly works.
>
> <snip>
>
>
> My script is more HD-PVR-centric, but could probably be adapted to
> deal with other situations. It is meant to run as a "Recording
> Finished" System Event.
>
> <snip>
>
>
That script looks great Matt, I've wondered about stuff like this in the
past but never done anything about it.
One question, when it schedules the program to allow re-record, will
that trigger the backend to try to restart the recording immediately?
I do occasionally get failed recording starting on my DVB-T cards, and
they generally just need a immediate restart to get them going.
Come to think of it, I've had a few other instances lately where
recordings just finish early (as in half way through their scheduled
time), so I could modify the script to check for that too and try to
restart recording.
Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120302/2d11a68b/attachment.html
More information about the mythtv-users
mailing list