On Sun, 13 Nov 2011, Michael Berkowski wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>> But I have another question - can I control the roku remotely from my
>> laptop while it streams music from my storage server?
>
> Yes, you can. It has a very simple API (from which various mobile apps are
> built).  The Roku merely listens on port 8080 for commands like "press up",
> "press down", "press home", or even just "press u", "press d", "press h".
>
> It's pretty fun to try out.
>
> $ telnet roku.ip.ad.dr 8080
> Escape character is '^]'.
> J0A15D013978
> ETHMAC 00:0d:12:12:12:12
> WIFIMAC 00:0d:23:23:23:23
>> press u
>> press l
>> press l
>> press ok
>
> - From this you might be able to script something more useful.


Wow.  That is fantastic.  If no one writes a GUI with keyboard shortcuts, 
I will be amazed.  The Roku developers don't already have one?

I just searched Synaptic for roku and found mt-daapd, which is described 
in Synaptic as below.  Maybe something can be done with that.

Mike


iTunes-compatible DAAP server

mt-daapd, now known as the Firefly Media Server, is a DAAP (Digital Audio 
Access Protocol) server that works with most POSIX-compatible operating 
systems. It allows you to share your music collection over the local 
network using the DAAP protocol also used by Apple's iTunes.

Popular uses of the Firefly Media Server include serving your digital 
music library to iTunes clients and/or SoundBridge devices from Roku.

Built-in transcoding support enables serving popular free music formats 
like FLAC, Ogg Vorbis or Musepack to those clients that do not otherwise 
support these formats. Transcoding happens on the fly, with the target 
format usually being WAV.

The server also features a web interface that can be used to control 
components of the server, trigger database updates, and create playlists.

Canonical does not provide updates for mt-daapd. Some updates may be 
provided by the Ubuntu community.