Move quit_vlc() up in syncplay.lua
This commit is contained in:
parent
9d57b171fb
commit
af3bf66499
@ -108,6 +108,11 @@ if (port == nil or port < 1) then port = 4123 end
|
||||
|
||||
vlc.msg.info("Hosting Syncplay interface on port: "..port)
|
||||
|
||||
function quit_vlc()
|
||||
running = false
|
||||
vlc.misc.quit()
|
||||
end
|
||||
|
||||
function mightbewindows()
|
||||
-- Used to detect whether the Operating System might be Windows.
|
||||
sysos = os.getenv("OS")
|
||||
@ -350,11 +355,6 @@ function load_file (filepath)
|
||||
return "load-file-attempted\n"
|
||||
end
|
||||
|
||||
function quit_vlc()
|
||||
running = false
|
||||
vlc.misc.quit()
|
||||
end
|
||||
|
||||
function do_command ( command, argument)
|
||||
-- Processes all commands sent by Syncplay (see protocol, above).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user