Move syncplay.lua hosting message
This commit is contained in:
parent
0b2a97db9d
commit
e2db09be9c
@ -105,8 +105,6 @@ local running = true
|
|||||||
port = tonumber(config["port"])
|
port = tonumber(config["port"])
|
||||||
if (port == nil or port < 1) then port = 4123 end
|
if (port == nil or port < 1) then port = 4123 end
|
||||||
|
|
||||||
vlc.msg.info("Hosting Syncplay interface on port: "..port)
|
|
||||||
|
|
||||||
function quit_vlc()
|
function quit_vlc()
|
||||||
running = false
|
running = false
|
||||||
vlc.misc.quit()
|
vlc.misc.quit()
|
||||||
@ -396,6 +394,7 @@ if string.sub(vlc.misc.version(),1,2) ~= "2." then
|
|||||||
quit_vlc()
|
quit_vlc()
|
||||||
else
|
else
|
||||||
l = vlc.net.listen_tcp(host, port)
|
l = vlc.net.listen_tcp(host, port)
|
||||||
|
vlc.msg.info("Hosting Syncplay interface on port: "..port)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- main loop, which alternates between writing and reading
|
-- main loop, which alternates between writing and reading
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user