mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -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
|
manager = None
|
||||||
|
|
||||||
if sys.platform.startswith("win32"):
|
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]))
|
dir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
||||||
os.environ['PATH'] += ";" + dir
|
os.environ['PATH'] += ";" + dir
|
||||||
os.environ['PATH'] += ";" + dir + "\\..\\dist" # for testing
|
os.environ['PATH'] += ";" + dir + "\\..\\dist" # for testing
|
||||||
else:
|
else:
|
||||||
externalPlayer = ["mplayer", "-really-quiet"]
|
externalPlayer = ["mplayer", "-really-quiet", "-noconsolecontrols"]
|
||||||
|
|
||||||
# don't show box on windows
|
# don't show box on windows
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
|
|
Loading…
Reference in a new issue