Upver syncplay.lua to 0.3.1 (VLC3.0 compatability)

This commit is contained in:
Etoh 2016-08-14 20:18:51 +01:00 committed by GitHub
parent 9edfb8e1ab
commit 80a1f2e546

View File

@ -3,9 +3,9 @@
--[==========================================================================[ --[==========================================================================[
Principal author: Etoh Principal author: Etoh
Other contributors: DerGenaue, jb Other contributors: DerGenaue, jb, Pilotat
Project: http://syncplay.pl/ Project: http://syncplay.pl/
Version: 0.3.0 Version: 0.3.1
Note: Note:
* This interface module is intended to be used in conjunction with Syncplay. * This interface module is intended to be used in conjunction with Syncplay.
@ -84,7 +84,7 @@ You may also need to re-copy the syncplay.lua file when you update VLC.
--]==========================================================================] --]==========================================================================]
local connectorversion = "0.3.0" local connectorversion = "0.3.1"
local vlcversion = vlc.misc.version() local vlcversion = vlc.misc.version()
local vlcmajorversion = tonumber(vlcversion:sub(1,1)) -- get the major version of VLC local vlcmajorversion = tonumber(vlcversion:sub(1,1)) -- get the major version of VLC
local durationdelay = 500000 -- Pause for get_duration command etc for increased reliability (uses microseconds) local durationdelay = 500000 -- Pause for get_duration command etc for increased reliability (uses microseconds)