Extend user-defined args first, so mpv --terminal=yes takes precedence (#59)

This commit is contained in:
Et0h 2015-05-08 22:48:46 +01:00
parent ae3f871848
commit 8e11ddef46

View File

@ -270,9 +270,9 @@ class MplayerPlayer(BasePlayer):
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