Mplayer support requires mplayer2 now.
This commit is contained in:
parent
343cdba795
commit
080de19c03
@ -38,7 +38,7 @@ MPC_PATHS = [
|
|||||||
"C:\Program Files (x86)\Combined Community Codec Pack\MPC\mpc-hc.exe",
|
"C:\Program Files (x86)\Combined Community Codec Pack\MPC\mpc-hc.exe",
|
||||||
"C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe",
|
"C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe",
|
||||||
]
|
]
|
||||||
MPLAYER_PATHS = ["mplayer2", "mplayer"]
|
MPLAYER_PATHS = ["mplayer2"]
|
||||||
MPV_PATHS = ["mpv", "/opt/mpv/mpv"]
|
MPV_PATHS = ["mpv", "/opt/mpv/mpv"]
|
||||||
#Changing these is usually not something you're looking for
|
#Changing these is usually not something you're looking for
|
||||||
PLAYER_ASK_DELAY = 0.1
|
PLAYER_ASK_DELAY = 0.1
|
||||||
|
|||||||
@ -141,7 +141,7 @@ class MplayerPlayer(BasePlayer):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def isValidPlayerPath(path):
|
def isValidPlayerPath(path):
|
||||||
if("mplayer" in path and MplayerPlayer.getExpandedPath(path)):
|
if("mplayer2" in path and MplayerPlayer.getExpandedPath(path)):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user