Skip to content

Commit

Permalink
Use mpv.com instead of mpv.exe on windows
Browse files Browse the repository at this point in the history
Fixes some issues
  • Loading branch information
ids1024 committed Jun 26, 2015
1 parent e9516ef commit f28761c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mps_youtube/config.py
Expand Up @@ -257,7 +257,12 @@ def check_player(player):
return dict(valid=True, message=msg, value=player)

else:
if mswin and not player.endswith(".exe"):
if mswin and not (player.endswith(".exe") or player.endswith(".com")):
# Using mpv.exe has issues; use mpv.com
if "mpv" in player:
retval = check_player(player + ".com")
if retval["valid"]:
return retval
return check_player(player + ".exe")

else:
Expand Down

0 comments on commit f28761c

Please sign in to comment.