From 18e424d0fa4d556dcdba5686f24de0daeedb5da0 Mon Sep 17 00:00:00 2001 From: Et0h Date: Wed, 27 Aug 2014 14:39:26 +0100 Subject: [PATCH] Finalise mpv incompatible error message --- syncplay/messages.py | 1 + syncplay/players/mplayer.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/syncplay/messages.py b/syncplay/messages.py index b1c66317d..9fb9e03d9 100755 --- a/syncplay/messages.py +++ b/syncplay/messages.py @@ -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", diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index 16d626623..d995d9920 100644 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -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: