Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
h3x.se
Old
(Last edited by h3x.se; 14th July 2010 at 01:04 AM.) Reason: updated with pictures
#1  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010
Default Spotify Remote for Android

ReSpot - available from google market.
As the title says - remote control Spotify with your Android phone!

It requires a small 'server component' to be installed on your stereo-connected PC.
Servify/C#, built with the official libspotify API.



Servify can be downloaded from h3x.se where you'll also find installation notes.

 
eiskrap
Old
#2  
Junior Member
Thanks Meter 0
Posts: 16
Join Date: Feb 2008
h3x.se isn't working for me...
 
h3x.se
Old
#3  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010
Quote:
Originally Posted by eiskrap View Post
h3x.se isn't working for me...
Apologies... Was doing some hardware maintenance.
 
zykozz
Old
#4  
Member
Thanks Meter 1
Posts: 48
Join Date: Jul 2008
Default 2.1

Jag använder /J och jag får upp mina playlists och kan connecta... men spela går inte. Search funkar heller inte.
 
h3x.se
Old
#5  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010
Quote:
Originally Posted by zykozz View Post
Jag använder /J och jag får upp mina playlists och kan connecta... men spela går inte. Search funkar heller inte.
Alright, I'm guessing you're using Windows ?


Could you please start Servify/J via the command line? That way debug information will be printed to the terminal - will help me help you
 
mezhopking
Old
#6  
mezhopking's Avatar
Member
Thanks Meter 0
Posts: 41
Join Date: Mar 2006
Location: London
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:

Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Servify/J - New client connected from: /10.0.1.199
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.LinkedList.entry(LinkedList.java:365)
	at java.util.LinkedList.get(LinkedList.java:315)
	at se.h3x.servify.state.State.getPlaylistTrackAt(State.java:104)
	at se.h3x.servify.command.EnqueueCmd.execute(EnqueueCmd.java:40)
	at se.h3x.servify.RemoteClient.run(RemoteClient.java:50)
	at java.lang.Thread.run(Thread.java:637)
Any help greatly appreciated...
Samsung Galaxy S2 - CyanogenMod 9 Nightly builds.
http://mezhopking.com/
 
h3x.se
Old
#7  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010
Quote:
Originally Posted by mezhopking View Post
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:

Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Servify/J - New client connected from: /10.0.1.199
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.LinkedList.entry(LinkedList.java:365)
	at java.util.LinkedList.get(LinkedList.java:315)
	at se.h3x.servify.state.State.getPlaylistTrackAt(State.java:104)
	at se.h3x.servify.command.EnqueueCmd.execute(EnqueueCmd.java:40)
	at se.h3x.servify.RemoteClient.run(RemoteClient.java:50)
	at java.lang.Thread.run(Thread.java:637)
Any help greatly appreciated...
That looks funky. It seems as if you've connected 3 times to servify/j - or there's something strange going on with OSX.

Anyways, are you experiencing this issue all the time or was it a one time occurrence?

I'm implemented a more graceful error handling of this situation - however i'm not sure of the root cause of this issue. Feel free to contact me on IRC and we can work together to resolve this quicker. Or we can keep posting here
 
h3x.se
Old
#8  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010
Quote:
Originally Posted by mezhopking View Post
I get the following errors in Terminal (OS X) when I try to play a song from my Nexus:

Code:
Mez-OSX:desktop mezhopking$ java -jar Servify.jar UNhere PWhere 8080
Initiating Servify/J...
Connected to 'ap5.spotify.com./78.31.12.12:4070'
0.0.0.0/0.0.0.0
Servify/J - New client connected from: /0:0:0:0:0:0:0:1%0
..
Any help greatly appreciated...
A new release made of ReSpot + Servify. Could help.
 
h3x.se
Old
#9  
Member - OP
Thanks Meter 0
Posts: 32
Join Date: Jan 2010


New version with volume slider bar...
 
mezhopking
Old
#10  
mezhopking's Avatar
Member
Thanks Meter 0
Posts: 41
Join Date: Mar 2006
Location: London
Quote:
Originally Posted by h3x.se View Post
A new release made of ReSpot + Servify. Could help.
That's done the trick, nice one.

Are you thinking of adding more advanced features, or are you limited by the Spotify API?

It would of course be very cool if we could have similar functionality as that of the Apple Remote...?
Samsung Galaxy S2 - CyanogenMod 9 Nightly builds.
http://mezhopking.com/

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more