From ced638ded041ce22ce9732489b7391749dc85e26 Mon Sep 17 00:00:00 2001 From: Etoh Date: Mon, 7 Oct 2013 22:49:06 +0100 Subject: [PATCH] Move non-OSX VLC args to separate constant --- syncplay/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index c88305a..75fad54 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -66,7 +66,8 @@ VLC_MAX_PORT = 55000 #These are not changes you're looking for MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=always', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4'] MPV_SLAVE_ARGS = [ '--slave-broken', '--hr-seek=always', '-msglevel', 'all=1:global=4'] -VLC_SLAVE_ARGS = ['--extraintf=luaintf','--lua-intf=syncplay','--no-quiet','--no-one-instance','--no-one-instance-when-started-from-file','--no-input-fast-seek'] +VLC_SLAVE_ARGS = ['--extraintf=luaintf','--lua-intf=syncplay','--no-quiet','--no-input-fast-seek'] +VLC_SLAVE_NONOSX_ARGS = ['--no-one-instance','--no-one-instance-when-started-from-file'] MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_]+)=(.+)$" VLC_ANSWER_REGEX = r"(?:^(?P[a-zA-Z_]+)(?:\: )?(?P.*))" UI_COMMAND_REGEX = r"^(?P[^\ ]+)(?:\ (?P.+))?"