Improve VLC 2.1+ handling of noscript due to lack of --data-path support

This commit is contained in:
Etoh 2013-11-10 11:03:30 +00:00
parent a328d4ddb5
commit 066209606e

View File

@ -253,6 +253,9 @@ class VlcPlayer(BasePlayer):
if "[syncplay]" in line:
if "Listening on host" in line:
break
elif "Couldn't find lua interface" in line:
playerController._client.ui.showErrorMessage(getMessage("en", "vlc-failed-noscript").format(line), True)
break
elif "lua interface error" in line:
playerController._client.ui.showErrorMessage(getMessage("en", "vlc-error-echo").format(line), True)
break