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

Bruce Markey bjm at lvcm.com
Wed Jun 2 15:53:11 EDT 2004


Thomas Börkel wrote:
> HI!
> 
> I had recorded an episode yesterday with "always record on this channel" 
> rule. That episode will be repeated tonight.
> 
> That upcoming rerun had status "R" in the conflicts screen.
> 
> Then I watched the original recording and deleted it, telling Myth to 
> not record it again.
> 
> After that, the rerun from tonight still had the same status "R".
> 
> Then, in the conclict screen, I pressed OK on that rerun and was 
> presented with some options. I just chose "OK" there.
> 
> After that, the rerun had status "P", which I think is correct for a 
> rerun, where I already recorded and deleted the original.
> 
> Now, my question: Why didn't it change the status from "R" to "P" 
> itself. Why did I have to enter the popup?

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


More information about the mythtv-users mailing list