Pass on mpv/youtube-dl out of date errors
This commit is contained in:
parent
b8c8343f9a
commit
4fa0a9b921
@ -87,6 +87,9 @@ class OldMpvPlayer(MpvPlayer):
|
|||||||
self.reactor.callFromThread(self._client.ui.showErrorMessage, getMessage("mpv-version-error"), True)
|
self.reactor.callFromThread(self._client.ui.showErrorMessage, getMessage("mpv-version-error"), True)
|
||||||
self.drop()
|
self.drop()
|
||||||
|
|
||||||
|
elif "[ytdl_hook] Your version of youtube-dl is too old" in line:
|
||||||
|
self._client.ui.showErrorMessage(line)
|
||||||
|
|
||||||
def _handleUnknownLine(self, line):
|
def _handleUnknownLine(self, line):
|
||||||
self.mpvVersionErrorCheck(line)
|
self.mpvVersionErrorCheck(line)
|
||||||
if "Playing: " in line:
|
if "Playing: " in line:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user