Skip to content

Commit

Permalink
Extend user-defined args first, so mpv --terminal=yes takes precedence (
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed May 8, 2015
1 parent ae3f871 commit 8e11dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/players/mplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e11dde

Please sign in to comment.