From 18945dd2fd057856934d745a579af407b5c41700 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 26 Apr 2012 15:05:07 +0900 Subject: [PATCH] catch mplayer error --- aqt/errors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/errors.py b/aqt/errors.py index e3461e47c..558a4504b 100644 --- a/aqt/errors.py +++ b/aqt/errors.py @@ -50,6 +50,8 @@ class ErrorHandler(QObject): return if "Pyaudio not" in error: return showWarning(_("Please install PyAudio")) + if "install mplayer" in error: + return showWarning(_("Please install mplayer")) if "no default output" in error: return showWarning(_("Please connect a microphone.")) stdText = _("""\