[mythtv-users] Can the scheduler be made to treat certain sources as blacklisted for certain times?

John P Poet jppoet at gmail.com
Fri Aug 22 18:36:52 UTC 2014


On Fri, Aug 22, 2014 at 11:51 AM, Jack Perveiler <perveilerj at gmail.com>
wrote:

> My stupid cable box reboots between 2 and 3 AM every morning.  I have a
> working script that detects when it is off and turns it back on
> automatically but that doesn't really help in-progress recordings.  And
> finding out 60 minutes into watching a movie that the cable box suddenly
> went offline right in the middle of the recording is pretty frustrating :)
>
> Is there a way to have the scheduler just NOT schedule anything for those
> times?  Per-source or encoder would be ideal but even something as coarse
> as globally disabling all recordings during those times would be fine too.
>
> I could always set up a recurring manual recording for a channel I know
> only exists on the cable box video source at that time and just ignore what
> it records but I was hoping there was something more built-in/graceful than
> that.  My googling hasn't found anything but I was hoping someone here knew
> better.
>
> Thanks,
>
> --Jack
>

You might be able to setup a "Custom Priority" to at least help avoid the
problem.

Setup -> Video -> Recording Priorities -> Custom Priority

With that you should be able to tell it to set a very low priority to shows
during that time.  Maybe set the priority to -99 for something like:

(HOUR(CONVERT_TZ(program.starttime,'UTC','SYSTEM')) >= 2 AND
HOUR(CONVERT_TZ(program.starttime,'UTC','SYSTEM')) <= 3) OR
(HOUR(CONVERT_TZ(program.endtime,'UTC','SYSTEM')) > 2 AND
HOUR(CONVERT_TZ(program.endtime,'UTC','SYSTEM')) <= 3)


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140822/7c952e40/attachment.html>


More information about the mythtv-users mailing list