Make mpv error check cover all parsing fails
This commit is contained in:
parent
3630138167
commit
c026be1114
@ -126,7 +126,7 @@ class MplayerPlayer(BasePlayer):
|
|||||||
return u'"{}"'.format(arg)
|
return u'"{}"'.format(arg)
|
||||||
|
|
||||||
def lineReceived(self, line):
|
def lineReceived(self, line):
|
||||||
if line == "Error parsing option slave-broken (option not found)":
|
if "Error parsing option" in line:
|
||||||
self.quitReason = getMessage("mpv-version-error")
|
self.quitReason = getMessage("mpv-version-error")
|
||||||
|
|
||||||
match = self.RE_ANSWER.match(line)
|
match = self.RE_ANSWER.match(line)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user