Fix jumping issue on VLC 4 (#161)
This commit is contained in:
parent
52db8f7d29
commit
3e5aeefaab
@ -5,7 +5,7 @@
|
||||
Principal author: Etoh
|
||||
Other contributors: DerGenaue, jb, Pilotat
|
||||
Project: http://syncplay.pl/
|
||||
Version: 0.3.3
|
||||
Version: 0.3.4
|
||||
|
||||
Note:
|
||||
* This interface module is intended to be used in conjunction with Syncplay.
|
||||
@ -243,7 +243,7 @@ function get_var( vartoget, fallbackvar )
|
||||
errormsg = noinput
|
||||
end
|
||||
|
||||
if vlcmajorversion == 3 and vartoget == "time" then
|
||||
if vlcmajorversion > 2 and vartoget == "time" then
|
||||
response = response / 1000000
|
||||
end
|
||||
|
||||
@ -257,7 +257,7 @@ function set_var(vartoset, varvalue)
|
||||
local errormsg
|
||||
local input = vlc.object.input()
|
||||
|
||||
if vlcmajorversion == 3 and vartoset == "time" then
|
||||
if vlcmajorversion > 2 and vartoset == "time" then
|
||||
varvalue = varvalue * 1000000
|
||||
end
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version = '1.5.0'
|
||||
milestone = 'Yoitsu'
|
||||
release_number = '47'
|
||||
release_number = '48'
|
||||
projectURL = 'http://syncplay.pl/'
|
||||
|
||||
@ -84,7 +84,7 @@ COMMANDS_AUTH = ['a','auth']
|
||||
COMMANDS_TOGGLE = ['t','toggle']
|
||||
MPC_MIN_VER = "1.6.4"
|
||||
VLC_MIN_VERSION = "2.2.1"
|
||||
VLC_INTERFACE_MIN_VERSION = "0.3.3"
|
||||
VLC_INTERFACE_MIN_VERSION = "0.3.4"
|
||||
VLC_LATENCY_ERROR_THRESHOLD = 2.0
|
||||
MPV_UNRESPONSIVE_THRESHOLD = 60.0
|
||||
CONTROLLED_ROOMS_MIN_VERSION = "1.3.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user