From 5648d5be2749876ca4fdec7196f4bc0794832fbd Mon Sep 17 00:00:00 2001 From: Et0h Date: Thu, 5 Jun 2014 23:55:15 +0100 Subject: [PATCH] VLC shouldn't close when file ends --- syncplay/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index 0fc184c..cce0012 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -87,7 +87,7 @@ VLC_MAX_PORT = 55000 MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=always', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4'] # --quiet works with both mpv 0.2 and 0.3 MPV_SLAVE_ARGS = ['--slave-broken', '--hr-seek=always', '--quiet'] -VLC_SLAVE_ARGS = ['--extraintf=luaintf','--lua-intf=syncplay','--no-quiet','--no-input-fast-seek'] +VLC_SLAVE_ARGS = ['--extraintf=luaintf','--lua-intf=syncplay','--no-quiet','--no-input-fast-seek','--no-play-and-exit'] 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.*))"