From 2597dee602ac22aebe08d1a2c7a82406db10b3cc Mon Sep 17 00:00:00 2001 From: Et0h Date: Tue, 2 Sep 2014 23:12:21 +0100 Subject: [PATCH] Use --start-time=0 to avoid VLC playback resumption --- syncplay/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index 8a15430..c49e03e 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -109,7 +109,7 @@ MPV_SLAVE_ARGS = ['--hr-seek=always', '--quiet', '--keep-open'] MPV_SLAVE_ARGS_WINDOWS = ['--slave-broken'] MPV_SLAVE_ARGS_NONWINDOWS = ['--input-terminal=no','--input-file=/dev/stdin'] VLC_SLAVE_ARGS = ['--extraintf=luaintf', '--lua-intf=syncplay', '--no-quiet', '--no-input-fast-seek', - '--play-and-pause'] + '--play-and-pause', '--start-time=0'] VLC_SLAVE_NONOSX_ARGS = ['--no-one-instance', '--no-one-instance-when-started-from-file'] MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_-]+)=(.+)$|^(Exiting)\.\.\. \((.+)\)$" VLC_ANSWER_REGEX = r"(?:^(?P[a-zA-Z_]+)(?:\: )?(?P.*))"