Bugzilla – Bug 9462
xPL Plugin initializes with wrong local ip
Last modified: 2009-07-31 10:29:50 UTC
I've installed SqueezeCenter on a ubuntu machine and the xPL plugin is not working correctly. It uses 127.0.1.1 as $localip. The installed xPL Hub ignores this client since it uses the external ip for comparison. So the xPL plugin never gets xPL messages forwarded. fix: package Slim::Plugin::xPL::Plugin; replace line 55-57: ==== my $computername = Slim::Utils::Network::hostName(); $localip = inet_ntoa((gethostbyname($computername))[4]); ==== with this: ==== $localip = Slim::Utils::Network::hostAddr; ==== to use exactly the same external ip address for this plugin as for the SqueezeCenter.
Andy to review the fix and commit if ok. Thanks Timo!
Thanks, patch applied as 7.2.1 change 23252.
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC