Restart UMS service once network status change

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
3dot
Posts: 2
Joined: Sun Aug 22, 2021 11:16 pm

Restart UMS service once network status change

Post 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.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Restart UMS service once network status change

Post by SubJunk »

Thanks for the suggestion, I have created a GitHub issue for it https://github.com/UniversalMediaServer ... ssues/2615
3dot
Posts: 2
Joined: Sun Aug 22, 2021 11:16 pm

Re: Restart UMS service once network status change

Post by 3dot »

Network state scanner has been implemented in v11. Tested and work great! Thank you.
Post Reply