From e2db09be9c3e96e4a91ebdb1850787ad5347e2b7 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 17 Nov 2013 11:30:56 +0000 Subject: [PATCH] Move syncplay.lua hosting message --- resources/lua/intf/syncplay.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lua/intf/syncplay.lua b/resources/lua/intf/syncplay.lua index 6273392..262895e 100644 --- a/resources/lua/intf/syncplay.lua +++ b/resources/lua/intf/syncplay.lua @@ -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