h3x.se spotify remote

FAQ

If your question is not covered below post a comment, or contact me: johannes [@.@] h3x.se

1)
Q: What is the listen_port / local_port?
A: The listen port is a port you yourself set when starting Servify. This is later the port which ReSpot will connect to, valid values are usually between 1100 to 65000.
In ReSpot you would then connect to the IP of the computer running Servify and on port 1111

2)
Q:Help, I'm using Linux and there's no sound!?
A: This may be due to MONO hogging OSS. Please try starting Servify/C# with: "padsp Servify.exe username password localport bitrate debug"
If this does not help - please let me know!

3)
Q:Could not connect to Servify, i/o exception - chosen connection may be unavailable
A: This can be due to a host of reasons. A few steps to debug is as follows; (most likely cycling your WiFi connectivity will resolve the issue).
x) Make sure you have tried connecting to all of the IP adresses listed in the Servify window, while being connected to the local network!
x) I'd suggest turning off/on the WiFi on the android device and then try again. Sometimes the WiFi-radio icon is on even though your device has been de-registered from the access point (the router).
x) Try surfing to servify from another computer on your network, http://IP:PORT , where ip/port is what servify is using. If you dont have another computer you can download ConnecBot and open a 'telnet' session to servify.
x) Open access to servify from the Internet - then use your 2g/3g internet access to try to connect to servify

4)
Q: I'm using Mac OS X and can't get this to work!
A:
x) Install "MONO", download and install Mono Runtime from: the mono webpage
x) make sure you're starting Servify from the directory it's unpacked in! ie:
"cd /Location/where/servify/is_unpacked"; "mono Servify.exe user pass port bitrate"
Still having issues? Drop me a mail / comment / irc msg.

5)
Q: I get this libasound error: Unhandled Exception: System.DllNotFoundException: libasound
A: the solution is to do the following (assuming ubuntu at least):

sudo ln -s /usr/lib/libasound.so.2 /usr/lib/libasound.so

6)
Q: Do you need Spotify premium or other Spotify products you have to pay a monthly fee for this to work?
A: Yes. Libspotify requires a Spotify Premium account.

7)
Q: How do I autostart servify? (assuming windows here - but it would be fairly similar on osx/linux)
A: That’s what I do, I have a .bat with the full parameters in autostart (for anyone who doesn’t know how to do this in win – open notepad and input “servify path\servify.exe usr psw port bitrate” then save the file as file_name.bat and include it in your autostart folder. E.g. c:\servify\servify.exe user password 1337 320) – means servify is launched on start up and you won’t have to input user details each time. Even if you don’t want it to autostart, you can use the .bat as a shortcut or “config file” of sorts.
Thanks to wb for the long explanation!

8)
Q: Getting alot of: ALSA write error code 127. AlsaPlayer bailing out. What do do?
A: User supplied solution (Thanks Lammert!):
fixed it by adding the following lines to /etc/asound.conf

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

Comments (4) Trackbacks (0)
  1. hi, thanks for the app, but i don’t know why it isn’t working.

    instructions in question 4 helped a lot, but now i enter my servify folder’s location and my details (user pass and port – i don’t know what to enter for bitrate or if i have to enter anything at all… so i just leave bitrate debug as they are) and i think this is all done correctly because now i get this line after pressing enter:
    >

    entered my ip correctly into respot on phone and same local port, however error is could not connect to servify.

    thanks in advance :D

    Elliott

  2. Bitrate can be either 160 or 320. So soemthing like this:

    mono Servify.exe username password 1337 320 debug

  3. Hi!

    Great app! But how can i make it start and log in when my computer boots? So i dont have to start it and log in every time..

  4. I’ve updated the FAQ.

Trackbacks are disabled.