Fix new mpv bug by re-requesting info that was requested prematurely
This commit is contained in:
parent
358109ad21
commit
8ba51ba111
@ -128,6 +128,15 @@ class MplayerPlayer(BasePlayer):
|
||||
if "Error parsing option" in line:
|
||||
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)
|
||||
if not match:
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user