summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Engel <dengel@mythtv.org>2011-04-16 00:01:46 (GMT)
committer David Engel <dengel@mythtv.org>2011-04-16 00:11:08 (GMT)
commit9ba3ece4a5cf3f41c53148b8192707b6107e5a40 (patch)
treee717c06ad307e3757de9148e66527ed6919bd3aa
parentf6e282f4cd95de787448ee32281cc0c20caafc5d (diff)
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.
-rw-r--r--mythtv/programs/mythbackend/scheduler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp
index b3676ad..f7479c3 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;
}