I had a problem getting this plugin to work on a Debian (Lenny / 5.0)
64bit box. 

The error was "Connection timeout" and the log said:
[10-07-10 15:26:12.8301] Plugins::Spotify::Settings::__ANON__ (109)
error fetching status: Connect timed out: Transport endpoint is not
connected
[10-07-10 15:26:13.1337] Plugins::Spotify::Settings::__ANON__ (109)
error fetching status: Connect timed out: Transport endpoint is not
connected

But here is a quick howto to fix this:

Follow the instructions in post #1. While you are downloading the
plugin, and before you restart the server, do the following:

a. Install the ia32-libs:

Code:
--------------------
    apt-get install ia32-libs
--------------------

b. Move to a temp dir, like /tmp: 
Code:
--------------------
    cd /tmp
--------------------

c. Download libflac and libogg in 32bits version for your distro.
For Debian Lenny, this is what you need to do:

Code:
--------------------
    wget 
http://ftp.se.debian.org/debian/pool/main/libo/libogg/libogg0_1.1.3-4_i386.deb
  wget 
http://ftp.se.debian.org/debian/pool/main/f/flac/libflac8_1.2.1-1.2_i386.deb
--------------------


d. Unpack the files in the current directory:

Code:
--------------------
    dpkg-deb -x libflac8_1.2.1-1.2_i386.deb .
  dpkg-deb -x libogg0_1.1.3-4_i386.deb .
--------------------


e. You now have a /tmp/usr/lib directory. Step inside and find the
32bit libs for ogg and flac:

Code:
--------------------
    cd /tmp/usr/lib
--------------------


f. Move them to /usr/lib32

Code:
--------------------
    mv * /usr/lib32 OR:
  mv /tmp/usr/lib/* /usr/lib32
--------------------


e. To make sure that spotifyd would work, locate it. (Usually under
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/)
Run:

Code:
--------------------
    ldd ./spotifyd
--------------------
 The commando should NOT give a line with "not found". This is an
example of a correct output:


Code:
--------------------
    
  
port:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux#
 ldd ./spotifyd
        linux-gate.so.1 =>  (0xf7eec000)
        libspotify.so.4 => 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/Bin/i386-linux/libspotify.so.4
 (0xf7bd2000)
        libFLAC.so.8 => /emul/ia32-linux/usr/lib/libFLAC.so.8 (0xf7b73000)
        libc.so.6 => /lib32/libc.so.6 (0xf7a21000)
        librt.so.1 => /lib32/librt.so.1 (0xf7a17000)
        libm.so.6 => /lib32/libm.so.6 (0xf79f3000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf79dc000)
        libogg.so.0 => /emul/ia32-linux/usr/lib/libogg.so.0 (0xf79d7000)
        /lib/ld-linux.so.2 (0xf7eed000)
  
--------------------

Good luck!


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

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to