To check whether VLC 2.x has been closed my LUA interface code currently looks like this:
Code: Select all
if vlc.volume.get() == -256 then
running = false
end
When VLC closes it does not close LUA interface scripts that are still running. I want to keep track of whether VLC is running so I can exit my interface's main loop when VLC is no longer running. In effect, I want to replicate the old 'vlc.misc.should_die()'.
Thanks