When republishing the same project to an XT-1144 player, my custom script halts right as I "server.SetPort(s.msgPort)".
This server is setup in the "newCustomPlugin" function. I notice via some debug print statements that this function reruns when I republish the exact same presentation.
The server setup section looks like this:
s.server = CreateObject("roHttpSever", { port: 8082 })
s.server.SetPort(s.msgPort)
s.server.AddPostToString(...)
I assume the script is upset that another server is being setup on the same port.
Is this "newCustomPlugin" function supposed to run again after a republish?
Is there a way to check that a server is already running at bootup?