diff --git a/syncplay/constants.py b/syncplay/constants.py index b3f0881..75de6a2 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -38,6 +38,7 @@ MPC_PATHS = [ "C:\Program Files\MPC HomeCinema (x64)\mpc-hc64.exe", ] MPLAYER_PATHS = ["mplayer2", "mplayer"] +MPV_PATHS = ["mpv", "/opt/mpv/mpv"] #Changing these is usually not something you're looking for PLAYER_ASK_DELAY = 0.1 PING_MOVING_AVERAGE_WEIGHT = 0.85 @@ -49,6 +50,7 @@ MPC_PAUSE_TOGGLE_DELAY = 0.05 #These are not changes you're looking for MPLAYER_SLAVE_ARGS = [ '-slave', '-msglevel', 'all=1:global=4'] +MPV_SLAVE_ARGS = [ '--slave-broken', '-msglevel', 'all=1:global=4'] MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_]+)=(.+)$" UI_COMMAND_REGEX = r"^(?P[^\ ]+)(?:\ (?P.+))?" UI_OFFSET_REGEX = r"^(?:o|offset)\ ?(?P[/+-])?(?P