Last day or so, I have been playing with Ethernet shield and IR receiver for my Arduino. And what else could come to mind when I hear theses two together? Of course - controlling Grooveshark with old TV’ish remote.
So, how its working, you might ask? Well, will try to answer that briefly. TV remote sends signal to IR receiver, who then passes it to Arduino for decoding. Arduino builds up binary code from signal and then converts it to integer (key code). Knowing what button was pressed, it then opens socket to keySharky API server and sends method who needs execution.
It might not be perfect, but that’s how it rolls :)