summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-05-27 23:16:12 +0100
committerCarl Hetherington <cth@carlh.net>2018-05-27 23:16:12 +0100
commit1f12c554e58f13fbed38313279c1c5418e0721ca (patch)
tree4374412da41d78825d76dbc7cc1262c74958bc96 /src
parent2115fca942897260bb338c8093ada5186d9b775d (diff)
Report progress of audio jobs.
Diffstat (limited to 'src')
-rw-r--r--src/wx/job_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc
index 9a1a12ca7..d0086ff81 100644
--- a/src/wx/job_view.cc
+++ b/src/wx/job_view.cc
@@ -26,6 +26,7 @@
#include "lib/config.h"
#include "lib/send_notification_email_job.h"
#include "lib/transcode_job.h"
+#include "lib/analyse_audio_job.h"
#include <wx/wx.h>
using std::string;
@@ -133,7 +134,7 @@ JobView::finished ()
_details->Enable (true);
}
- if (dynamic_pointer_cast<TranscodeJob>(_job) && _notify->GetValue()) {
+ if ((dynamic_pointer_cast<TranscodeJob>(_job) || dynamic_pointer_cast<AnalyseAudioJob>(_job)) && _notify->GetValue()) {
if (Config::instance()->notification(Config::MESSAGE_BOX)) {
wxMessageBox (std_to_wx(_job->name() + ": " + _job->status()), _("DCP-o-matic"), wxICON_INFORMATION);
}