Move syncplay.lua hosting message

This commit is contained in:
Etoh 2013-11-17 11:30:56 +00:00
parent 0b2a97db9d
commit e2db09be9c
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,6 @@ local running = true
port = tonumber(config["port"])
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()
@ -396,6 +394,7 @@ if string.sub(vlc.misc.version(),1,2) ~= "2." then
quit_vlc()
else
l = vlc.net.listen_tcp(host, port)
vlc.msg.info("Hosting Syncplay interface on port: "..port)
end
-- main loop, which alternates between writing and reading