mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
use mplayer on windows too
This commit is contained in:
parent
8a47538075
commit
aca5a403e5
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ queue = []
|
||||||
manager = None
|
manager = None
|
||||||
|
|
||||||
if sys.platform.startswith("win32"):
|
if sys.platform.startswith("win32"):
|
||||||
externalPlayer = ["c:\\program files\\windows media player\\wmplayer.exe"]
|
base = os.path.join(os.path.dirname(sys.argv[0]), "mplayer.exe")
|
||||||
|
externalPlayer = [base, "-really-quiet"]
|
||||||
else:
|
else:
|
||||||
externalPlayer = ["mplayer", "-really-quiet"]
|
externalPlayer = ["mplayer", "-really-quiet"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue