mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
catch mplayer error
This commit is contained in:
parent
0ee498ac4e
commit
18945dd2fd
1 changed files with 2 additions and 0 deletions
|
@ -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 = _("""\
|
||||
|
|
Loading…
Reference in a new issue