Skip to content

Vlc freezes while sync play is running on Mac OS X El Captian. #83

@searock

Description

@searock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions