summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <ghurlbut@mythtv.org>2011-05-27 07:04:06 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2011-05-27 07:10:43 (GMT)
commit9375ffb6e7b016c2d80942f25a64e86758e280eb (patch)
tree06e4c7ee86f7bd6296b16a9d9aad5733743c425e
parentd0648f64f1c04effcbc5b8c2e873c7ea353cbf0d (diff)
Make the free space updates start in PBH
Make it so as soon as the playbackboxhelper thread starts, it forces an update of the free space so the bar can start updating. Once it has been started, the free space will update on a timer basis (looks like every 15s). Fixes #9771 (cherry picked from commit 62d70845b46387bf16e0a1e1c75f7a0082ba61f3)
-rw-r--r--mythtv/programs/mythfrontend/playbackboxhelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mythtv/programs/mythfrontend/playbackboxhelper.cpp b/mythtv/programs/mythfrontend/playbackboxhelper.cpp
index 3a4ede1..27835d5 100644
--- a/mythtv/programs/mythfrontend/playbackboxhelper.cpp
+++ b/mythtv/programs/mythfrontend/playbackboxhelper.cpp
@@ -520,6 +520,8 @@ void PlaybackBoxHelper::UndeleteRecording(
void PlaybackBoxHelper::run(void)
{
m_eventHandler = new PBHEventHandler(*this);
+ // Prime the pump so the disk free display starts updating
+ ForceFreeSpaceUpdate();
exec();
}