mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
ignore console input in mplayer
This commit is contained in:
parent
bc2e9d9593
commit
2c60151a45
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@ queue = []
|
|||
manager = None
|
||||
|
||||
if sys.platform.startswith("win32"):
|
||||
externalPlayer = ["mplayer.exe", "-ao", "win32", "-really-quiet"]
|
||||
externalPlayer = ["mplayer.exe", "-ao", "win32", "-really-quiet", "-noconsolecontrols"]
|
||||
dir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
||||
os.environ['PATH'] += ";" + dir
|
||||
os.environ['PATH'] += ";" + dir + "\\..\\dist" # for testing
|
||||
else:
|
||||
externalPlayer = ["mplayer", "-really-quiet"]
|
||||
externalPlayer = ["mplayer", "-really-quiet", "-noconsolecontrols"]
|
||||
|
||||
# don't show box on windows
|
||||
if sys.platform == "win32":
|
||||
|
|
Loading…
Reference in a new issue