From 9ba3ece4a5cf3f41c53148b8192707b6107e5a40 Mon Sep 17 00:00:00 2001 From: David Engel Date: Fri, 15 Apr 2011 19:01:46 -0500 Subject: [PATCH] Fixed update of some recording status transitions. Backported 0e22930b from trunk. Some status transitions, most notbably rsTuning to rsRecording, were not immediately reflected in the EPG and other screens. --- mythtv/programs/mythbackend/scheduler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp index b3676ada6da..f7479c3363f 100644 --- a/mythtv/programs/mythbackend/scheduler.cpp +++ b/mythtv/programs/mythbackend/scheduler.cpp @@ -553,6 +553,11 @@ void Scheduler::UpdateRecStatus(RecordingInfo *pginfo) reschedQueue.enqueue(0); reschedWait.wakeOne(); } + else + { + MythEvent me("SCHEDULE_CHANGE"); + gCoreContext->dispatch(me); + } } return; } @@ -598,6 +603,11 @@ void Scheduler::UpdateRecStatus(uint cardid, uint chanid, reschedQueue.enqueue(0); reschedWait.wakeOne(); } + else + { + MythEvent me("SCHEDULE_CHANGE"); + gCoreContext->dispatch(me); + } } return; }