This tutorial will show you how to remotely control Grooveshark (running on your PC) from your Android phone. It may not be the “prettiest” of solutions, but it does the job until a more elegant Remote Control app is created.
What we are doing here is basically setting up an SSH server that your Android phone will connect to in order to control Grooveshark. A similar solution should be possible for other Operating Systems and Mobile Devices, you will just have to find an equivalent SSH Server for your computer, and an SSH client for your mobile phone. It is also possible to control Grooveshark anywhere in the world (using your cell carrier instead of WiFi), you just have to correctly forward the ports on your router (and probably sign up for Dynamic DNS). If you have no idea what I’m talking about, don’t worry… keep reading.
Difficulty: Intermediate
Requirements:
Steps on PC:
![CropperCapture[1]](http://sirnerdus.com/wp-content/uploads/2010/08/CropperCapture11.bmp)
![CropperCapture[1]](http://sirnerdus.com/wp-content/uploads/2010/08/CropperCapture21.bmp)
![CropperCapture[1]](http://sirnerdus.com/wp-content/uploads/2010/08/CropperCapture3.bmp)
![CropperCapture[1]](http://sirnerdus.com/wp-content/uploads/2010/08/CropperCapture4.bmp)
##title = GS playpause
#set ssh_password (PASSWORD)
spawn ssh (USERNAME):(PASSWORD)@(PCNAME):22
#spawn ssh (USERNAME):(PASSWORD)@(PCNAME):22
send “echo playpause >> c:\users\(USERNAME)\appdata\Roaming\GroovesharkDesktop.7F9BF17D6D9CB2159C78A6A6AB076EA0B1E0497C.1\locals~1\shortcutAction.txt”
exit 0
If you need help with filling out the Username, Password, or PC Name, see below. Remember to take out the parenthesis from the example above. The path used is also only for Windows Vista/7. If you have Windows XP, see Troubleshooting.
Other commands you can use: next, previous, stop, mute, volumeup, volumedown, shuffle. You can find all of the commands available here: http://grooveshark.wikia.com/wiki/External_Player_Control_API_Docs
You can create as many files as you need to control what you would like to do.
Steps on Android phone:

That’s it! Please comment here if you are having any issues…
Troubleshooting:
If you are having trouble with the username/password part, you may need to create a new user on your Windows machine (as an Administrator with a password). This tutorial can show you how to do that: http://www.bleepingcomputer.com/tutorials/tutorial153.html
If you don’t know the name of your PC, you can find out by going to Start -> Run, and typing “cmd”. When the prompt appears, type in “ipconfig /all” and press Enter. Your PC Name should be listed as the “Host Name”.
The path that you should use on Windows XP is this: “c:\docume~1\(USERNAME)\applic~1\GroovesharkDesktop.7F9BF17D6D9CB2159C78A6A6AB076EA0B1E0497C.1\locals~1\shortcutAction.txt“