<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.legatissimo.info" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Legatissimo.info - howto</title>
 <link>http://www.legatissimo.info/taxonomy/term/53/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>iPhone remote for MythTV</title>
 <link>http://www.legatissimo.info/node/355</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://digg.com/mods/Turn_your_iPhone_into_a_remote_for_MythTV&quot;&gt;Digg this&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Last weekend, I finally got my &lt;a href=&quot;http://www.mythpvr.com/mythtv/&quot;&gt;MythTV box&lt;/a&gt; up and running, thanks to the &lt;a href=&quot;http://swik.net/MythDora&quot;&gt;MythDora&lt;/a&gt; distribution.  It works like a charm, but I was dismayed by the idea of having to sit near the computer to use the keyboard and not enthused by the idea of setting up drivers for a wireless keyboard.  After a bit of research on the compatible remotes out there, I decided to build my own to run on my iPhone.  Here it is in action:&lt;/p&gt;

&lt;p&gt;&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/wOzyhNuTU4k&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/wOzyhNuTU4k&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;

&lt;p&gt;After trying out a few options I settled on an HTML web front end with a little bit of AJAX, which makes calls to a python CGI script.  These pieces are hosted on the MythTV server, and I access them through the iPhone&#039;s web browser over my local network via WiFi.  The icons are from the &lt;a href=&quot;http://www.icon-king.com/?p=15&quot;&gt;Nuvola&lt;/a&gt; set.  I have plans in the future to replace them with icons that are more consistent with the iPhone GUI.&lt;/p&gt;

&lt;p&gt;Here are screenshots of how it turned out:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/img/myth_remote.png&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/img/mythtv_keypad.png&quot;&gt;&lt;/p&gt;

Buttons in screenshot one (left to right) are: main menu, live TV, video gallery, play DVD, play music.  The second row (Navigation) buttons allow movement through the menus.  Third row: escape, switch to keypad view, enter.  On the keypad screen, the menu icon toggles back to the menu view.

&lt;p&gt;And if you&#039;re interested, I&#039;ve put &lt;a href=&quot;http://www.kylestoneman.com/out/iphone/index.html&quot;&gt;up an online version&lt;/a&gt; of the remote that I haven&#039;t tested in anything other than my iPhone, so please don&#039;t hate me if it shows up broken in IE.&lt;/p&gt;

Finally, for those of you who want to give this a shot for yourself, I&#039;ve
made a tarball with all of the the various pieces that went into making this work, along with some instructions that may or may not work for you. &lt;a href=&quot;http://kylestoneman.com/out/remote.tar.gz&quot;&gt;Good luck.&lt;/a&gt;</description>
 <comments>http://www.legatissimo.info/node/355#comment</comments>
 <category domain="http://www.legatissimo.info/taxonomy/term/53">howto</category>
 <category domain="http://www.legatissimo.info/taxonomy/term/4">Internet</category>
 <category domain="http://www.legatissimo.info/taxonomy/term/3">Mac</category>
 <pubDate>Tue, 14 Aug 2007 10:38:40 -0500</pubDate>
 <dc:creator>kyle</dc:creator>
 <guid isPermaLink="false">355 at http://www.legatissimo.info</guid>
</item>
</channel>
</rss>
