Fix new mpv bug (premature info requests)
This commit is contained in:
parent
27bd1b38d3
commit
655b638097
@ -127,6 +127,15 @@ class MplayerPlayer(BasePlayer):
|
|||||||
def lineReceived(self, line):
|
def lineReceived(self, line):
|
||||||
if "Error parsing option" in line:
|
if "Error parsing option" in line:
|
||||||
self.quitReason = getMessage("mpv-version-error")
|
self.quitReason = getMessage("mpv-version-error")
|
||||||
|
|
||||||
|
if "Failed to get value of property" in line:
|
||||||
|
if "filename" in line:
|
||||||
|
self._getFilename()
|
||||||
|
elif "length" in line:
|
||||||
|
self._getLength()
|
||||||
|
elif "path" in line:
|
||||||
|
self._getFilepath()
|
||||||
|
return
|
||||||
|
|
||||||
match = self.RE_ANSWER.match(line)
|
match = self.RE_ANSWER.match(line)
|
||||||
if not match:
|
if not match:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user