[mythtv] Re: [mythtv-users] Status of scheduled show changed by looking at

Chris Pinkham cpinkham at bc2va.org
Wed Jun 2 19:34:18 EDT 2004


Moving this conversation over from the -users list cause I think
it's a dev issue.

> The schedule list is stored in memory on the master backend.
> Whenever something needs this info, it asks the scheduler thread.
> The scheduler thread only regenerates the list when it has to
> rather than every time info is requested as it did a few versions
> back. A RecordChanged event happens whenever a rule changes, a
> recording starts, the listings change, a slave backend connects
> or disconnects and maybe some others. Whenever this happens
> you would see the "Found changes in the todo list" message from
> the master.
> 
> Deleting a recorded file doesn't trigger a RecordChanged. In
> theory, you might choose Duplicate Location: Current Recs and
> and delete a file minutes before another showing of the same
> episode that you do want to to record again even though you
> just finished watching it (I'm tryin' here ;-). This is so
> obscure that it's not worth running the scheduler for every
> delete.
> 
> --  bjm

I think the scheduler might need to be run in certain instances
when you have "max episodes" turned on for a recording and you
delete one, that could drop you below the max so a new one can be
scheduled if available.  I could be deleting episodes so it will
record new ones.  Maybe it should only be run if there are items
marked as "too many recordings" otherwise it wouldn't need to be
run.

-- 

Chris



More information about the mythtv-dev mailing list