staalelor;580691 Wrote: 
> I think I found the reason why: On my Squeezebox Touch the
> /var/log/message reads: 
> 
> Oct  4 18:59:37 squeezeplay: INFO   audio.decode - Playback.lua:440
> connect 192.168.0.160:9999 GET
> spotify:track:7dtuGiBwn2vgvDPVNyWlck/stream.flc**
> Oct  4 18:59:40 squeezeplay: WARN   audio.decode - Playback.lua:527
> write error: No route to host
> 
> This means that the Touch tries to connect to the Helper App on another
> IP than it should. It should be using the external IP instead of the
> internal IP on the Squeezeboxserver. 
> 
> Any ideas on how to fix this?
> 
> Is it possible to fake how the Squeezebox-server announces itself? Not
> with the eth0-address, but a given external IP?

Simplest solution would be for you to hack the perl code in the plugin
to set a different address...  Look for the file ProtocolHandler.pm
inside the Spotify Plugin - in sub canDirectStream.

Change:

Code:
--------------------
    my $host = Slim::Utils::Network::serverAddr();
--------------------

to the following with the correct IP address:

Code:
--------------------
    
  my $host = "10.0.0.1"
  
--------------------


-- 
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to