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:08:02 (GMT)
commit0e22930b7bc91bf8a7b690cfbc397a34dcc5e4be (patch)
tree445ce56e4ab879e1458f2f545e9382292d46a8c3
parentbcf84a5998120e22c5781315c2fa4125523c2704 (diff)
Fixed update of some recording status transitions.
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 f72672e..ea5fc5e 100644
--- a/mythtv/programs/mythbackend/scheduler.cpp
+++ b/mythtv/programs/mythbackend/scheduler.cpp
@@ -548,6 +548,11 @@ void Scheduler::UpdateRecStatus(RecordingInfo *pginfo)
reschedQueue.enqueue(0);
reschedWait.wakeOne();
}
+ else
+ {
+ MythEvent me("SCHEDULE_CHANGE");
+ gCoreContext->dispatch(me);
+ }
}
return;
}
@@ -593,6 +598,11 @@ void Scheduler::UpdateRecStatus(uint cardid, uint chanid,
reschedQueue.enqueue(0);
reschedWait.wakeOne();
}
+ else
+ {
+ MythEvent me("SCHEDULE_CHANGE");
+ gCoreContext->dispatch(me);
+ }
}
return;
}