Force ServerWMC to us IP address instead of hostname?
#1
Hi guys,

Is there a way to force ServerWMC to use the IP address of the client instead of the hostname?

I just spent three hours debugging an issue where one of my two boxes took 5 seconds to refresh the TV list after I deleted a show. It turned out that both boxes had the same hostname and ServerWMC had renamed the second one with a parenthesis and a number at the end. Everything worked, but the one with the number at the end took MUCH longer to get responses from ServerWMC. Once I changed the hostname to something unique, the problem was resolved.

I don't normally use the same hostname on multiple boxes, but I could have avoided the issue altogether if ServerWMC just used IP addresses. Also, I'm considering switching to the Amazon Fire TV, and they appear to be locked to the hostname "localhost," and thus will have duplicates if I use more than one.

Is there any way to revert back to using IP addresses instead of hostnames?
I welcome comments and suggestions for the Kodi (XBMC) Set-up Guide that I wrote.
You can read it here:  http://forum.kodi.tv/showthread.php?tid=193310
Reply
#2
It's odd that this would cause issues as ServerWMC doesn't communicate out to the clients, it only uses that name for things like logging, naming stream files, storing notifications etc

We'll have to look into how this could cause a delay anywhere
pvr.wmc TV addon and ServerWMC Backend Development Team
http://bit.ly/ServerWMC
Reply
#3
During most operations, there wasn't any delay. However, every time that I deleted a recording, there would be a substantial delay (5 to 10 seconds) before the show disappeared from the list. Sometimes, Kodi would show the waiting symbol (rotating circle) during that time. Once I changed the hostname to a non-duplicate, the problem went away.

I take it there's no debug option to switch back to IP addresses?

(2016-05-22, 02:58)scarecrow420 Wrote: It's odd that this would cause issues as ServerWMC doesn't communicate out to the clients, it only uses that name for things like logging, naming stream files, storing notifications etc

We'll have to look into how this could cause a delay anywhere
I welcome comments and suggestions for the Kodi (XBMC) Set-up Guide that I wrote.
You can read it here:  http://forum.kodi.tv/showthread.php?tid=193310
Reply
#4
You can try this:

<UseIPAddressAsRemoteClientName>false</UseIPAddressAsRemoteClientName>
Windows Media Center PVR addon (pvr.wmc) and server backend (ServerWMC)
http://bit.ly/serverwmc
Reply
#5
That did it! Thanks.

(2016-05-23, 23:51)krustyreturns Wrote: You can try this:

<UseIPAddressAsRemoteClientName>false</UseIPAddressAsRemoteClientName>
I welcome comments and suggestions for the Kodi (XBMC) Set-up Guide that I wrote.
You can read it here:  http://forum.kodi.tv/showthread.php?tid=193310
Reply

Logout Mark Read Team Forum Stats Members Help
Force ServerWMC to us IP address instead of hostname?0