-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
Description
If Vlc is closed from the menu or the dock, VLC freezes and closes if I force quit it or close syncplay.
I'm not sure if this is just happening on my end. Can someone please confirm?
Also I'm trying to find the problem in lua script.
Etoh suggested me to have a look at this part of the script.
There's two pieces of closing code, one from Syncplay's side and one from VLC's. It is the latter which causes the problem.
The code is at https://github.com/Syncplay/syncplay/blob/master/resources/lua/intf/syncplay.lua and the logic (in Lua) is as follows:
local quitcheckcounter = 0
...
quitcheckcounter = quitcheckcounter + 1
if quitcheckcounter > quitcheckfrequency then
if vlc.volume.get() == -256 then
running = false
end
quitcheckcounter = 0
end
I'm looking on how I can debug the script so I can find where the problem is happening. I tried commenting the above code and it still freezes, that means the problem is somewhere else.