Skip to content

Commit

Permalink
Finalise mpv incompatible error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed Aug 27, 2014
1 parent cbb0b74 commit 18e424d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions syncplay/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"server-timeout-error" : "Connection with server timed out",
"mpc-slave-error" : "Unable to start MPC in slave mode!",
"mpc-version-insufficient-error" : "MPC version not sufficient, please use `mpc-hc` >= `{}`",
"mpv-version-error" : "Syncplay is not compatible with this version of mpv. Please use a different version of mpv (e.g. Git HEAD).",
"player-file-open-error" : "Player failed opening file",
"player-path-error" : "Player path is not set properly",
"hostname-empty-error" : "Hostname can't be empty",
Expand Down
2 changes: 1 addition & 1 deletion syncplay/players/mplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _quoteArg(self, arg):

def lineReceived(self, line):
if line == "Error parsing option slave-broken (option not found)":
self.quitReason = "This version of Syncplay is not compatible with mpv 0.5.0+ on Windows. Use mpv 0.4.3 or check for an update to Syncplay."
self.quitReason = getMessage("mpv-version-error")

match = self.RE_ANSWER.match(line)
if not match:
Expand Down

0 comments on commit 18e424d

Please sign in to comment.