Page 1 of 1

Restart UMS service once network status change

Posted: Sun Aug 22, 2021 11:42 pm
by 3dot
I run UMS as windows service, unfortunately my computer has no network after computer boots.
After I manually connect to wifi hotspot of my phone, UMS cannot be discovered in my network.
I found an error in wrapper.log which stated that "[WrapperSimpleAppMain] A serious error occurred during Universal Media Server initialization: No usable network interface found for UPnP multicast"

For a workaround, I created a tasks scheduler which triggered by network event to restart UMS service. It serves my purpose well. However i would like to see a "built-in solution" in UMS.

Thanks in advance.

Re: Restart UMS service once network status change

Posted: Mon Aug 23, 2021 8:48 am
by SubJunk
Thanks for the suggestion, I have created a GitHub issue for it https://github.com/UniversalMediaServer ... ssues/2615

Re: Restart UMS service once network status change

Posted: Wed May 04, 2022 5:08 pm
by 3dot
Network state scanner has been implemented in v11. Tested and work great! Thank you.