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

Karl Dietz dekarl at spaetfruehstuecken.org
Fri Aug 22 19:34:56 UTC 2014


On 22.08.2014 19:51, Jack Perveiler wrote:
> Is there a way to have the scheduler just NOT schedule anything for
> those times?

I like your solution of making sure that the recorder is in use for a
throw away recording because of its simplicity. Its a nice hack.

The proper solution would be to remove the guide data around of the
time span where your video source does not provide (reliable) access to
the channels.


But that is easier said then done. I'm not sure how to (easily) do that
for US guide data. I think you will have to write code to achieve that
goal.

I couldn't quickly figure out how to do that with tv_grep for xmltv
files.

You could write a filter in Perl. Here's my code for cutting holes into
the guide based on times.
https://github.com/NonameTV/nonametv/blob/master/lib/NonameTV/Importer/Combiner.pm#L716

The code create a union of all timespans to keep and then tests every
program to see if it intersects (if it doesn't move on to the next one)
and if it is completely contained in the timespans. (marking it as
partial  of not.)

Regards,
Karl


More information about the mythtv-users mailing list