<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2/03/2012 12:44 PM, Matt Mossholder wrote:
<blockquote
cite="mid:CAA_WKe_E6ydB04=CEUV5bLL=WJC9fC+AkbRzCTuxpTY5JnJFbg@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Thu, Mar 1, 2012 at 8:03 PM, Larry K <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:lunchtimelarry@gmail.com">lunchtimelarry@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
<div>On Thu, Mar 1, 2012 at 7:53 PM, Matt Emmott <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:memmott@gmail.com" target="_blank">memmott@gmail.com</a>></span>
wrote:</div>
</div>
</div>
<div class="gmail_quote">
<div>
<div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
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.<br>
<br>
I'm open to any ideas. Thanks!<br>
<br>
</blockquote>
<div><br>
</div>
</div>
</div>
<div>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.
<div>
<br>
</div>
<div><snip></div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<snip>
<div><br>
</div>
</div>
<br>
</blockquote>
That script looks great Matt, I've wondered about stuff like this in
the past but never done anything about it.<br>
One question, when it schedules the program to allow re-record, will
that trigger the backend to try to restart the recording
immediately?<br>
<br>
I do occasionally get failed recording starting on my DVB-T cards,
and they generally just need a immediate restart to get them going.<br>
<br>
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.<br>
<br>
Cheers,<br>
Andrew<br>
</body>
</html>