![]() PlayerController._client.ui.showErrorMessage(getMessage("media-player-error").format(line), True) playerController._client.ui.showErrorMessage(getMessage("vlc-failed-noscript").format(line), True) elif "Couldn't find lua interface" in line: Self._process = subprocess.Popen(call, stderr=subprocess.PIPE, stdout=subprocess.PIPE) If there is a second person in the room, the Syncplay interface is detached from VLC and play/pause don't influence the Syncplay ready state.ĭiff -git a/syncplay/players/vlc.py b/syncplay/players/vlc.py is playing 'file.mkv' (42:28) in room: 'master' GUI design and current lead developer - Et0h.Error: uncaptured python exception, closing channel (: Connection refused )Īlso when I'm the only one in the room everything works as expected (the VLC pause/unpause changes the ready state of the Syncplay GUI), but there is something strange with the times.Initial concept and core internals developer - Uriziel.Licenses and attribution notices for third-party media are set out in third-party-notices.txt. I unpause the player (the Syncplay changes state to ready) Play/Pause the player does not change the Syncplay status (only the player on my side starts/stops to play) I am able to pause/play through the player (and this is affecting the Syncplay and the second person in the room).I unpause the player (the Syncplay changes state to ready).Threading.Thread._init_(self, name="VLC Listener")Īlso I'm not sure if this is relevant, but checking around in the code I saw that the -data-path option is passed to the player, but this option is no longer available in version 3.0.0 ( Warning: option -data-path no longer exists.). ![]() My player continues and the pause/unpause no longer changes the Syncplay ready status. Newtitle = (timetoset - realtime) / titlemultiplier Oldtitle = radixsafe_tonumber(get_var("title", 0)) If errormsg ~= nil and errormsg ~= "" -286,9 +296,17 function set_time ( timetoset) + realtime = math.floor(realtime / 1000000) + if newtitle ~= oldtitle and get_var("time", 0) > 1 then + (() + durationdelay) - Don't give new title with old time + if newtitle ~= oldtitle and math.floor(get_var("time", 0) / 1000000) > 1 then + if string.sub(vlcversion,1,2) = "3." then (() + durationdelay) - Don't give new title with old time if newtitle ~= oldtitle and get_var("time", 0) > 1 then Newtitle, titleerror = get_var("title", 0) I saw that sometimes the madeChangeOnPlayer variable is None and tracked it to a function that returns none if it doesn't go into an if statementĭiff -git a/resources/lua/intf/a b/resources/lua/intf/a When the Syncplay client receives the 'State' change from the server it tries to use the lua interface to change the state on the player, but it calls something that breaks the plugin (or the connection between them). ![]() If oldtitle ~= newtitle and newtitle > -1 then Set_var("title", radixsafe_tonumber(newtitle))
0 Comments
Leave a Reply. |