I made a remote app for Spotify, an application i really love and use every day. It replaced for me iTunes and "normal" radio. I have speakers in several rooms connected to my mac and can now control it even from my patio. :D

It's not a "real" iPhone app - it's a web app created with the help of iSofa:
A free software (or donationware) that lets you control your Mac from your iPhone / iPod Touch.
iSofa is a web application, it uses the Apache web server of your Mac (already installed in your Mac).
You will access iSofa using Safari from your iPhone / iPod Touch by WiFi, EDGE with iPhone and 3G with iPhone 3G.
Once iSofa is installed, an administration page (http://127.0.0.1:9999/admin/) is available from your Mac. This page give you the address to use to access iSofa from your iPhone. You can also change the background, change the port number, set a password to limit the access, etc.

What i did was creating a plugin that can play/pause Spotify, jump back and forward, control the volume and play the first 9 playlists - that's all for now. ;)

Image
In case someone wants to use it:

Install iSofa and get my zip file.
Replace the folder /Library/iSofa/modules/02/02 on your mac with my folder "02Spotify".
Then go to /Library/iSofa/scripts and add my 5 script files (the *.scpt files).
Now access iSofa on your iPhone (as described in the quote above), click on the Spotify icon,
add the page to your home screen and you're done. :)
PS: Universal Access in the System Preferences has to be activated.
Last edited by semisans on May 22nd, 2009, 8:55 pm, edited 1 time in total.
That's lovely. Now I'll have to start using Spotify.
im confused? is the file location on the iphone or the mac? Because i dont have that in ny iphone directory?
I might have to get that :)
This is a really nice webapp. I'm using Spotify pretty frequently and this is going on my SpringBoard, :thumbsup:
Thanks guys. :) I hope someone more clever will make good use of their API documentation soon, would be nice to be able to search and use the playlists.

@downtrodn: It's the library folder on your mac, the one on the root level, not the one in your user folder.
Meh Spotify isn't available for my country :'(
You can use a UK proxy like http://defilter.co.uk/ with www.spotify.com/en , worked for me. UK postal code “PO1 3AX” if you need one.
Last edited by semisans on May 22nd, 2009, 11:02 pm, edited 1 time in total.
nice... i'll start using this...

i love spotify..... great little app :D
How do we get your spotify icon that you are using on your springboard?
Nice UI! I'm going to try this.
Nice!! I just can't wait for them to release one themselves!! Like a iPhone Native Client..

J
semisans wrote:You can use a UK proxy like http://defilter.co.uk/, worked for me. UK postal code “PO1 3AX” if you need one.

Thanks. Is that your post code? :P
I'll use the old post code I had from the uni days though.
[edit] love you semisans for without you I still would be without spotify. It's awesome.
Last edited by beatoven on May 16th, 2009, 3:33 pm, edited 1 time in total.
Update

I have tried it now and it's awesome! Does anyone know where to find more iSofa plugins?
mmmmm! very nice:cool:

i hope i don't ound like a pervert ;):P:lol:
Wester: The icon should be created through the webclip, doesn't it work for you? By the way, i use the Matte Nano theme, its webclip looks different.

mac-pro-demon: Yes, i hope so too, but i heard twitterrumors today that we may have to wait for the end of the year... =/

beatoven wrote:Thanks. Is that your post code? :P
I'll use the old post code I had from the uni days though.
[edit] love you semisans for without you I still would be without spotify. It's awesome.

Eheh no, i'm from Germany. Glad it worked for you and you like it. By the way, Spotify *may* notice in 2 weeks that you're not in the UK and will refuse to start. You can get around it. Go to your profile if you have one(at spotify.com) and set your location to your country.

Erikw wrote:I have tried it now and it's awesome! Does anyone know where to find more iSofa plugins?

I haven't seen any, but it was very easy to create this one, just have a look at the scripts and the php files in the module folders. Works with any program that uses shortkeys.

baRRy boRRis: Umm... i don't think so... ? *backs off slowly* :D
anything for window users?
By the way, Spotify *may* notice in 2 weeks that you're not in the UK and will refuse to start. You can get around it. Go to your profile if you have one(at spotify.com) and set your location to your country.

I know that I will be very annoyed in two weeks when I get cut off, so I tried to change my country now. It doesn't give me any other choice for country than UK. Did this change for you at some point?

Also, thanks for giving us this wonderful app. Any chance of getting this made into a .tapp for iPhone Remote/Telekenisis? (Use version 0.9.19) The program hasn't been updated in a while, but it is very solid. (Quick tip, you have to futz with it to make 5 digit ports work, I can try and figure out how I did it if someone wants).

Actually, I think I'll try to figure out how to do it myself in the meantime.

Thanks again.
Last edited by gray_hat on May 17th, 2009, 5:19 am, edited 1 time in total.
gray_hat: Hmm, it gives me still (only) the option "Germany", too bad it won't work for your country.
You could either log in again to your profile with a UK proxy after 14 days or maybe enter a UK SOCKS ot HTTP proxy into the Spotify preferences (www.samair.ru/proxy/socks.htm , you may have to try a few IPs)? I never tried it but heard it works and you should be able to remove the proxy after you logged in once successfully.

Telekinesis from Blacktree - yes, i tried it a while ago, and i suspect iSofa is a successor of it (there's also WelcomeToYourMac, does the same). I liked the admin page of iSofa, that's why i chose it. ;)


jquest68: maybe this: http://spotifyremote.codeplex.com/
anything for windows users as this looks fantastic?

PLEASE!!!!

fattail95
Thanks again. You're the best. I checked and Mauritius is in the list. I'll change it when they start being annoying.
after today's Spotify update (v 0.3.15) the iSofa/Spotify web-app from @semisans is not working anymore, at least for me.. It simply doesn't seem to send any command to Spotify. The .scrpt included in the package do work, but the iSofa/Spotify web-app doesn't trigger them anymore. The other iSofa extensions are working correctly.
Also an AppleRemote-enabling SIMBL plugin developed by @alexjprice ( http://themacbox.co.uk/smr/ ) didn't work until he had updated it in order to catch up with the new Spotify version.
I also tried to uninstall and reinstall iSofa but it didn't work.
Before the update, it used to work. Now it doesn't, and the only intervening event has been the Spotify auto-update at startup, this afternoon.
It's a pity because I very liked this simple and beautiful remote-app... Is anybody else experiencing the same issue as mine?
That's weird, i reinstalled both (iSofa and my files) just now on another mac to test it, and it works there too, even with the new Spotify update.

Could it be that just the webclip on your home screen doesn't work anymore? Have you tried to create it again? Maybe your mac's IP has changed and the app can't find the mac anymore because the connection infos are saved with the webapp.
I can't for example access the new mac's iSofa interface with the previously created webapp for my other mac, so i had to access it again through Mobile Safari and create a new webapp.

Edit: Ah nevermind, i just saw you followed me on Twitter. x)
Last edited by semisans on May 18th, 2009, 9:25 am, edited 1 time in total.
PS:

I *may* have found a way to select and play (already created) playlists through the webapp, is there any interest, should i continue?
im unable to load isofa on safari on my iphone. says it cannot connect to server, but i can connect through safari on my mac fine.. which in my opinion is pointless. Any help as to why i can not connect? It would be great to be able to use this.