From 080de19c03396d36eb5efff1b9c655ae1932d8ae Mon Sep 17 00:00:00 2001 From: daniel-123 Date: Sun, 13 Jan 2013 22:30:09 +0100 Subject: [PATCH] Mplayer support requires mplayer2 now. --- syncplay/constants.py | 2 +- syncplay/players/mplayer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index be93e06..b1cba2b 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -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 diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index d218deb..3c1c29d 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -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