[mythtv] Dropping Directv -- tell scheduler date that source is no longer valid?

David Engel david at istwok.net
Mon Nov 25 05:59:26 UTC 2019


On Sun, Nov 24, 2019 at 05:04:25PM -0700, John P Poet wrote:
> Hey David,
> 
> I am dropping Directv effective December 7th. As it happens, Directv is
> having one of their "free" weekends for Thanksgiving, so lots of shows are
> being scheduled and lots more are being delayed ("Later").
> 
> Is there a relatively easy way for me to let the scheduler know that that
> source is going away after December 7th so it knows it cannot schedule
> conflicting shows after that date?
> 
> I don't mind making temporary code changes to make this happen. I am just
> hoping for a simple solution.

Like Stephen suggested, I would start by deleting any program entries
for December 7 or later.  After doing that once, I'd try to prevent
those days from getting populated at all any more.  You can use the
--refresh option with mythfilldatabase to do that.  For example, I
think you would use --refresh 1-11 for tomorrow (Monday, November 25),
--refresh 1-10 for Tuesday and then keep decreasing the last day by
one for each new day until you get to just --refresh 1-1.  You can
change that leading 1 to 0 or use --refresh today if you want to also
refresh the current day.

David
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list