• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ReSpot - Spotify Remote for Android

h3x.se

Member
Jan 30, 2010
50
0
I've created a remote control application for spotify called ReSpot.

It requires a small serverprocess on your pc too.

More info and download can be found at h3x.se

playback_2010-07-13-200x300.png
 
Hi guys,

I am quite new to this and cannot get around opening the Servify.jar file in order to be able to use ReSpot. I'm using Mac OSX 10.5.8 and have tried opening Servify.jar through both ways listed on the h3x.se instructions page, but I can't get it to work.

If I double click the jar file right off the downloads folder, it will say: "cannot be launched, check console for possible error message".

If I use Terminal and type "java -jar Servify username password localport", it will say: "Unable to access jarfile Servify"

Am I supposed to place the Servify.jar file in a specific folder?

If anyone could please shed some light I'd be very grateful....I'm going nutz here!
 
Upvote 0
Hi guys,

I am quite new to this and cannot get around opening the Servify.jar file in order to be able to use ReSpot. I'm using Mac OSX 10.5.8 and have tried opening Servify.jar through both ways listed on the h3x.se instructions page, but I can't get it to work.

If I double click the jar file right off the downloads folder, it will say: "cannot be launched, check console for possible error message".

If I use Terminal and type "java -jar Servify username password localport", it will say: "Unable to access jarfile Servify"

Am I supposed to place the Servify.jar file in a specific folder?

If anyone could please shed some light I'd be very grateful....I'm going nutz here!

You seem to miss out the ".jar"

Please try;

1) java -jar Servify.jar username password localport

or

2) java -jar Servify.jar

(the second option will bring up the GUI)
 
Upvote 0
No luck still.. will try updating or reinstalling java and see if that changes anything. If you think of anything else that might make it work or otherwise give an idea of what the problem might be, please let me know.

Thanks a lot for your help & patience.

I hope you get it working. Cant help out much with OSX stuff.
Though i know others have got it working under OSX.

Try getting the latest java, if you didnt already have that installed
 
Upvote 0
BTW, this is what Terminal shows when I prompt java -jar /path/to/Servify.jar

Last login: Mon Feb 1 22:46:10 on ttys000
john-s-computer:~ john$ java -jar ./downloads/servify.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:54)[/I][/I][/I]
 
Upvote 0
BTW, this is what Terminal shows when I prompt java -jar /path/to/Servify.jar

Last login: Mon Feb 1 22:46:10 on ttys000
john-s-computer:~ john$ java -jar ./downloads/servify.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:54)[/I][/I][/I]


Servify/J is compiled with Java 1.6 so you'll need that version.

"java -version"
should tell you what's installed.

good luck!
 
Upvote 0
Servify/J is compiled with Java 1.6 so you'll need that version.

"java -version"
should tell you what's installed.

good luck!

That was it! I had downloaded the latest version but hadn't checked off V1.5 from java preferences. I got the app running now but without proper functionality. I can find songs on ReSpot but can't load my playlists, nor can I get any songs I find through ReSpot to actually play on the Mac eventhough the log says:
"OK - Playing"
"-1"

When I click playlist: "playlists could not be loaded, probably spotify playlist servers are not responding"
 
Upvote 0
That was it! I had downloaded the latest version but hadn't checked off V1.5 from java preferences. I got the app running now but without proper functionality.

Great!

I can find songs on ReSpot but can't load my playlists, nor can I get any songs I find through ReSpot to actually play on the Mac eventhough the log says:
"OK - Playing"
"-1"

When I click playlist: "playlists could not be loaded, probably spotify playlist servers are not responding"

First: a premium account is required (but i dont think this is the issue).

When you search for tracks, 'clicking' them will add them to your PlayQueue in the Playback view. You must go there and click the track to start playback. (not sure if this is the issue though).
However, when doing this, the connectivity view should say something like
"OK - Playing"
"1" (ie: a non negative number => 0, a bit confusing with the ok-playing , i know :) )

The spotify Playlist servers are unstable, if you Servify at some later point you may get the playlists downloaded (and they are then cached). But at first startup the spotify playlist servers need to be in a good condition, and unfortunately it is not always so. The reason why this is rarely an issue is because the client's will cache your playlists locally, so it's ever only noticed when you first install a client as there will be no cache.

Basically, retrying/restarting servify *Should* remedy the playlist issue. This is ofcourse not an ideal situation, but it's out of my control really.


i hope this helps, otherwise pls continue asking, it's helpful for me to know whats working / not working etc :)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones