Pass on mpv/youtube-dl out of date errors

This commit is contained in:
Et0h 2015-06-18 14:46:39 +01:00
parent b8c8343f9a
commit 4fa0a9b921

View File

@ -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: