![]() set_var("title", radixsafe_tonumber(newtitle)) ![]() If oldtitle ~= newtitle and newtitle > -1 then ![]() 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). My player continues and the pause/unpause no longer changes the Syncplay ready status. 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.). ![]() 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. A copy of this license is included in the LICENSE file of this repository. This project, the Syncplay released binaries, and all the files included in this repository unless stated otherwise in the header of the file, are licensed under the Apache License, version 2.0. Syncplay also includes text-based chat so you can discuss a video as you watch it (or you could use third-party Voice over IP software to talk over a video). When a new person joins they will also be synchronised. This means that when one person pauses/unpauses playback or seeks (jumps position) within their media player then this will be replicated across all media players connected to the same server and in the same 'room' (viewing session). Syncplay synchronises the position and play state of multiple media players so that the viewers can watch the same thing at the same time. Solution to synchronize video playback across multiple instances of mpv, VLC, MPC-HC, MPC-BE and mplayer2 over the Internet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |