From 8e11ddef462aba9aaf3dfb0d3a9eec1d1d82febe Mon Sep 17 00:00:00 2001 From: Et0h Date: Fri, 8 May 2015 22:48:46 +0100 Subject: [PATCH] Extend user-defined args first, so mpv --terminal=yes takes precedence (#59) --- syncplay/players/mplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index 0539b66a3..c013b19ff 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -270,9 +270,9 @@ def __init__(self, playerController, playerPath, filePath, args): filePath = None else: call.extend([filePath]) - call.extend(playerController.getStartupArgs(playerPath)) if args: call.extend(args) + call.extend(playerController.getStartupArgs(playerPath)) # At least mpv may output escape sequences which result in syncplay # trying to parse something like # "\x1b[?1l\x1b>ANS_filename=blah.mkv". Work around this by