Mplayer support requires mplayer2 now.

This commit is contained in:
daniel-123 2013-01-13 22:30:09 +01:00
parent 343cdba795
commit 080de19c03
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ MPC_PATHS = [
"C:\Program Files (x86)\Combined Community Codec Pack\MPC\mpc-hc.exe",
"C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe",
]
MPLAYER_PATHS = ["mplayer2", "mplayer"]
MPLAYER_PATHS = ["mplayer2"]
MPV_PATHS = ["mpv", "/opt/mpv/mpv"]
#Changing these is usually not something you're looking for
PLAYER_ASK_DELAY = 0.1

View File

@ -141,7 +141,7 @@ class MplayerPlayer(BasePlayer):
@staticmethod
def isValidPlayerPath(path):
if("mplayer" in path and MplayerPlayer.getExpandedPath(path)):
if("mplayer2" in path and MplayerPlayer.getExpandedPath(path)):
return True
return False