Update mpv compatibility message

This commit is contained in:
Etoh 2020-05-12 19:33:07 +01:00 committed by GitHub
parent c0cf7a8731
commit 8dda01328f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class MpvPlayer(BasePlayer):
the_reactor = reactor the_reactor = reactor
the_reactor.callFromThread(client.ui.showErrorMessage, the_reactor.callFromThread(client.ui.showErrorMessage,
"This version of mpv is not compatible with Syncplay. " "This version of mpv is not compatible with Syncplay. "
"Please use mpv >=0.29.0.", True) "Please use mpv >=0.23.0.", True)
the_reactor.callFromThread(client.stop) the_reactor.callFromThread(client.stop)
return return
@ -49,7 +49,7 @@ class MpvPlayer(BasePlayer):
if not constants.MPV_OSC_VISIBILITY_CHANGE_VERSION: if not constants.MPV_OSC_VISIBILITY_CHANGE_VERSION:
client.ui.showDebugMessage( client.ui.showDebugMessage(
"This version of mpv is not known to be compatible with changing the OSC visibility. " "This version of mpv is not known to be compatible with changing the OSC visibility. "
"Please use mpv >=0.28.0.") "Please use mpv >=0.23.0.")
return MpvPlayer(client, MpvPlayer.getExpandedPath(playerPath), filePath, args) return MpvPlayer(client, MpvPlayer.getExpandedPath(playerPath), filePath, args)
@staticmethod @staticmethod