<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>raoli.com &#187; TiVo</title>
	<atom:link href="http://raoli.com/category/gadgets/tivo/feed/" rel="self" type="application/rss+xml" />
	<link>http://raoli.com</link>
	<description>random and occassionally coherent musings</description>
	<lastBuildDate>Thu, 27 May 2010 13:02:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding iTunes+ Support to TiVo</title>
		<link>http://raoli.com/2007/06/07/adding-itunes-support-to-tivo/</link>
		<comments>http://raoli.com/2007/06/07/adding-itunes-support-to-tivo/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 05:38:23 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://raoli.com/2007/06/07/adding-itunes-support-to-tivo/</guid>
		<description><![CDATA[A little over two years ago, TiVo quietly enabled the ability to stream unprotected AAC to TiVos for use via the Home Media Option. I say quietly, because this feature required you to install lame and didn&#8217;t appear to be documented anywhere. At the time, I viewed this as a promising sign that TiVo was [...]]]></description>
			<content:encoded><![CDATA[<p>A little over two years ago, TiVo <a href="http://archive2.tivocommunity.com/tivo-vb/showthread.php?p=2608116&amp;&amp;#post2608116" title="TiVo Desktop 1.9 released">quietly enabled</a> the ability to stream unprotected AAC to TiVos for use via the Home Media Option. I say quietly, because this feature required you to install <code>lame</code> and didn&#8217;t appear to be documented anywhere. At the time, I viewed this as a promising sign that TiVo was starting to make good on it&#8217;s then 2-year-old statement that they were looking to <a href="http://raoli.com/2003/05/28/aac-and-hmo/">add AAC support to the HMO</a>. However, it&#8217;s been another 2+ years since that time and not much has changed.</p>
<p>What has changed is that Apple unveiled iTunes+, complete with unprotected AAC files. In theory, these files should &#8220;just work&#8221; with TiVo&#8217;s existing AAC support. Of course, as is true of many things, the transition from theory to reality did not go as planned. As reported by <a href="http://theappleblog.com/2007/06/05/itunes-plus-files-unplayable-by-tivo/">The Apple Blog</a>, iTunes+ still are not playable through HMO.</p>
<p>We come here not to bury TiVo, but to fix it.</p>
<p><span id="more-324"></span></p>
<p>On The Apple Blog, the suggested solution to this problem is to use iTunes&#8217; Convert Selection command to convert your files to either MP3 or AAC. I&#8217;m not crazy about this, because you either take extra hard drive space storing two copies of each track or you introduce an additional lossy compression into your only copy of each track. The trick is to make TiVo Desktop recognize the &#8220;Purchased AAC audio file&#8221; type.</p>
<p>For the record, I&#8217;m pretty about everything that follows, but there&#8217;s always the slim chance that following my instructions could reduce you system to a smoldering pile of rubble, or something slightly less drastic. Make sure you&#8217;ve got a backup of everything and proceed at your own risk.</p>
<p>Inspired (heavily) by Dan Benjamin&#8217;s <a href="http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger">Building Ruby, Rails, LightTPD, and MySQL on Tiger</a>, here we go.</p>
<h3>What You Need</h3>
<ol>
<li>Mac OS X 10.4 (previous versions might work, but I have no idea).</li>
<li>Developer Tools</li>
<li>TiVo Desktop</li>
<li>Some level of comfort with the Terminal and editing some Java code.</li>
</ol>
<h3>Getting Started</h3>
<p>Before doing anything, you need to make sure TiVo Desktop is not running. Open System Preferences and select the TiVo Desktop Preference Pane. If it says &#8220;TiVo Desktop On&#8221; underneath the TiVo logo, click the Stop button.</p>
<p>To keep things simple, we&#8217;re going use one working area for pretty much everything. I suggest creating a folder called <code>tivo</code> in your home folder. To do so, enter the following into a new Terminal window:</p>
<pre><code>mkdir tivo
cd tivo
</code></pre>
<p>Keep the Terminal window open so you stay in this folder.</p>
<h3>LAME</h3>
<p>Not a social commentary on my part, LAME is the tool that TiVo Desktop uses to support AAC files. TiVO Desktop uses LAME to convert AAC files to MP3 files on-the-fly and sends the MP3 file to your TiVo. The AAC file on your hard drive remains unchanged.</p>
<p>You can copy the following lines into your Terminal one at a time. When the current line finished, proceed to the next line.</p>
<p>We&#8217;ll end up using the <code>sudo</code> command a few times during this process. One or more times, you may be prompted to enter your password. Do so when asked.</p>
<pre><code>curl -O http://umn.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
tar xvzf lame-3.97.tar.gz
cd lame-3.97
./configure --prefix=/usr/local
make
sudo make install
cd..
</code></pre>
<p>If you get an error like this:</p>
<pre><code>checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
</code></pre>
<p>then you don&#8217;t have the Developer Tools installed. You should have a copy on your Tiger CDs/DVDs or you can download a copy from the <a href="http://developer.apple.com/">Apple Developer Connection</a> website.</p>
<h3>JAD</h3>
<p><a href="http://www.kpdus.com/jad.html">JAD</a> is a Java Decompiler. Basically, it lets you get back to the Java source code used to create Java byte code files. The portions of TiVo Desktop we care about are written in Java, so this tool will enable us to make the necessary modifications to support iTunes+ files.</p>
<p>JAD is not a Universal binary &#8212; there are separate Intel and PowerPC version. Make sure you download the appropriate version. Also, I have not tested the Intel version. The JAD website indicates that the Intel version is for Mac OS X 10.4.6. I assume that means 10.4.6 <em>or newer</em>, but I can&#8217;t be sure.</p>
<h4>Intel</h4>
<pre><code>curl -O http://www.kpdus.com/jad/macosx86/jadmx158.zip
</code></pre>
<h4>PowerPC</h4>
<pre><code>curl -O http://www.kpdus.com/jad/macosx/jadap158.zip
</code></pre>
<p>Once you&#8217;ve downloaded jar, you expand the file and make sure jad is configured as an executable.</p>
<pre><code>unzip jar158.zip
chmod a+x jad
</code></pre>
<h3>TiVoDesktop.jar</h3>
<p>TiVoDesktop.jar is contains the Java byte code that we&#8217;re going to be modifying. We&#8217;re going to copy this into working area before making any changes, extract the byte code from the archive, and decompile the byte code we care about back into a Java source file.</p>
<pre><code>cp /Library/Application\ Support/TiVo/TiVoDesktop.jar .
jar xf TiVoDesktop.jar
./jad -sjava com/tivo/util/SoundConverter.class
</code></pre>
<h3>Editing SoundConverter.java</h3>
<p>The <code>jad</code> command above will create the SoundConverter.java file, which contains the source code for the SoundConverter class. Open this in your favorite text editor and find the method named:</p>
<pre><code>public static boolean isConvertibleToMPEG(String type)
</code></pre>
<p>This method pretty short &#8212; only 6 lines. The first 2 lines check if a TiVo will natively support the file type. The second 2 lines check if the file type can be converted into a file type a TiVo will support. The last 2 lines indicate that the file type cannot be used with a TiVo.</p>
<p>It&#8217;s the second 2 lines that interested us. Specifically, this line (split into 2 lines here for readability):</p>
<pre><code>if(type.equals("AAC audio file") || type.equals("AIFF audio file")
    || type.equals("Apple Lossless audio file") || type.equals("WAV audio file"))
</code></pre>
<p>This line sees if the file type can be converted to MP3. We need to add &#8220;Purchased AAC audio file&#8221; to this list to support iTunes+ files. So, replace the above line with the following (again, 1 line in the source file, 3 lines here for readability):</p>
<pre><code>if(type.equals("AAC audio file") || type.equals("AIFF audio file")
    || type.equals("Apple Lossless audio file") || type.equals("WAV audio file")
    || type.equals("Purchased AAC audio file"))
</code></pre>
<p>The only change was adding <code>|| type.equals("Purchased AAC audio file")</code> between the last two closing parenthesis.</p>
<h3>Updating TiVoDesktop.jar</h3>
<p>Once the source code has been edited, we need to update TiVoDesktop.jar. This involves generating the byte code for the SoundConverter class and replacing the old byte code in TiVoDesktop.jar.</p>
<pre><code>javac SoundConverter.java
mv SoundConverter.class com/tivo/util/
jar uf TiVoDesktop.jar com/tivo/util/SoundConverter.class
</code></pre>
<p>If you get an error after running the <code>javac</code> command, you&#8217;ve made a mistake in your code. You can either try to find your error or you can delete the SoundConverter.java file start back at the <code>jar</code> command under &#8220;TiVoDesktop.jar&#8221;</p>
<h3>Replacing TiVoDesktop.jar</h3>
<p>Now it&#8217;s time to replace the old TiVoDesktop.jar with our updated copy.</p>
<pre><code>pushd .
cd /Library/Application\ Support/TiVo/
sudo mv TiVoDesktop.jar TiVoDesktop.jar.old
popd
sudo mv TiVoDesktop.jar /Library/Application\ Support/TiVo/
</code></pre>
<h3>Finishing Up</h3>
<p>If you&#8217;ve gotten this far, you&#8217;re pretty much done. All that&#8217;s left is to restart the TiVo Desktop (open the TiVo Desktop Preference Pane and click Start) and start playing your iTunes+ files through your TiVo.</p>
<p>Theoretically (there&#8217;s that word again), this should be relatively simple for TiVo to implement. However, development of TiVo Desktop for the Mac has not proceeded at a brisk pace. It wouldn&#8217;t surprise me if the next release doesn&#8217;t come out until after the release of Leopard (assuming the current TiVo Desktop doesn&#8217;t play well with Leopard).</p>
<p>Since I implemented this change, the only issue I&#8217;ve seen is occasional when my TiVo is playing back the converted tracks. Since the files are being converted and streamed on demand, the skipping&#8217;s probably due to the 5-year-old computer I&#8217;m currently riding like a rented mule (the skipping didn&#8217;t occur if I left the computer alone while it was streaming). I suspect that those of you with more modern hardware won&#8217;t have any problems.</p>
<p>&#8230;and no, I wouldn&#8217;t suggest using this trick to try and add support for Protected AAC audio files. Something tells me the results might not be pretty.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2007/06/07/adding-itunes-support-to-tivo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TiVo and Netflix &#8211; Official!</title>
		<link>http://raoli.com/2004/09/30/tivo-and-netflix-official/</link>
		<comments>http://raoli.com/2004/09/30/tivo-and-netflix-official/#comments</comments>
		<pubDate>Fri, 01 Oct 2004 07:41:56 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://www.raoli.com/?p=214</guid>
		<description><![CDATA[Engadget:

As expected, Netflix and TiVo are teaming up on a video-on-demand service&#8230;

Excellent. Netflix has already signed up Warner Brothers for the trial period. It looks like this thing is really coming together.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.engadget.com/entry/6563571713634447/" title="It's official: TiVo and Netflix teaming up on movie download service">Engadget</a>:</p>
<blockquote cite="http://www.engadget.com/entry/6563571713634447/"><p>
<a href="http://www.engadget.com/entry/6281087118708410/">As expected</a>, Netflix and TiVo are teaming up on a video-on-demand service&#8230;
</p></blockquote>
<p>Excellent. <a href="http://netflix.com/">Netflix</a> has already signed up Warner Brothers for the trial period. It looks like this thing is really coming together.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2004/09/30/tivo-and-netflix-official/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TiVo and Netflix</title>
		<link>http://raoli.com/2004/09/06/tivo-and-netflix/</link>
		<comments>http://raoli.com/2004/09/06/tivo-and-netflix/#comments</comments>
		<pubDate>Tue, 07 Sep 2004 06:21:26 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://www.raoli.com/?p=207</guid>
		<description><![CDATA[Matt Haughey:

Tomorrow&#8217;s Newsweek carries a story about a new Netflix/TiVo partnership that sounds perfect for anyone that has a subscription to both TiVo and Netflix.

OK, this is cool. I&#8217;ve been toying with the idea of getting Netflix once I move into my new apartment next week. If this is done right, it could pretty much [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pvrblog.com/pvr/2004/09/newsweek_netfli.html" title="Newsweek: Netflix and TiVo to announce partnership, offer downloadable movies">Matt Haughey</a>:</p>
<blockquote cite="http://www.pvrblog.com/pvr/2004/09/newsweek_netfli.html"><p>
Tomorrow&#8217;s Newsweek carries <a href="http://www.msnbc.msn.com/id/5915470/site/newsweek" title="I Want a Movie! Now!">a story about a new Netflix/TiVo partnership</a> that sounds perfect for anyone that has a subscription to both TiVo and Netflix.
</p></blockquote>
<p>OK, this is cool. I&#8217;ve been toying with the idea of getting <a href="http://netflix.com/">Netflix</a> once I move into my new apartment next week. If this is done right, it could pretty much seal the deal for me.</p>
<p>I realize you&#8217;d probably lose a few things by downloading the movies to you <a href="http://tivo.com/">TiVo</a> instead of popping in a DVD. It wouldn&#8217;t surprise me if all the DVD extras were missing. I think the audio options would be limited, since the TiVo only has stereo-out ports.</p>
<p>On the plus side, you wouldn&#8217;t have to worry about damaging or losing the DVD. Hopefully, I&#8217;d could also decide that I wanted to watch a flick when I get home from work and queue up the download so I could watch it when I get home (deities of bandwidth willing).</p>
<p>Like I said, this really needs to be done right if it&#8217;s going to work. Since TiVo currently offers web-based scheduling, I&#8217;d expect that you&#8217;d at least be able to queue up movies over the web. It would be really cool, though, if the process were <em>completely</em> integrated with Netflix &#8212; the TiVo web interface is certainly usable, but I&#8217;d rather use something like <a href="http://www.thelittleappfactory.com/application.php?app=Netflix%20Freak">Netflix Freak</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2004/09/06/tivo-and-netflix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Home Media Option</title>
		<link>http://raoli.com/2004/06/22/free-home-media-option/</link>
		<comments>http://raoli.com/2004/06/22/free-home-media-option/#comments</comments>
		<pubDate>Tue, 22 Jun 2004 08:44:25 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://www.raoli.com/?p=195</guid>
		<description><![CDATA[It&#8217;s been this way for about two weeks now, but TiVo has made the Home Media Option a part of the standard feature set for Series2 DVRs.
I reviewed the Home Media Option for ATPM slightly over a year ago (damn, where&#8217;s the time gone?!?) and not much has changed since then. The slide shows are [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been this way for about two weeks now, but <a href="http://www.tivo.com/">TiVo</a> has made the Home Media Option a part of the <a href="http://www.wired.com/news/digiwood/0,1412,63776,00.html" title="TiVo Breaks Into Home Networks">standard feature set</a> for Series2 <acronym title="Digital Video Recorder">DVR</acronym>s.</p>
<p>I <a href="http://atpm.com/9.05/tivo.shtml">reviewed</a> the Home Media Option for <a href="http://atpm.com/">ATPM</a> slightly over a year ago (damn, where&#8217;s the time gone?!?) and not much has changed since then. The slide shows are still pretty basic. The promised <a href="http://www.raoli.com/archives/cat_tivo.php" title="AAC and HMO">AAC support</a> hasn&#8217;t arrived. The integration with iTunes and iPhoto is still decent, though it would be cooler if you could sync your TiVo Desktop preferences with the sharing preferences built-in to the iLife applications.</p>
<p>Downside: I&#8217;ve gotten nothing new for the $100 I spent last year.</p>
<p>Upside:<br />
1. If I can slip a wireless networking adapter on the back of my parent&#8217;s TiVo, I can probably impress the heck out of them.<br />
2. If I buy another TiVo, it&#8217;s $50 I don&#8217;t have to spend.</p>
<p>Seems like I worthwhile tradeoff to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2004/06/22/free-home-media-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AAC and HMO</title>
		<link>http://raoli.com/2003/05/28/aac-and-hmo/</link>
		<comments>http://raoli.com/2003/05/28/aac-and-hmo/#comments</comments>
		<pubDate>Thu, 29 May 2003 05:27:53 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://www.raoli.com/?p=82</guid>
		<description><![CDATA[
MacMinute:


TiVo is working on a new version of the Mac OS X software for its Home Media Option that will let users stream AAC music files to their TiVo Digital Video Recorder (DVR), in addition to the already supported MP3 format. &#8220;We are working with Apple on a solution to support the AAC file format [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.macminute.com/2003/05/28/tivo" title="TiVo working on AAC support for Home Media Option">MacMinute</a>:
</p>
<blockquote cite="http://www.macminute.com/2003/05/28/tivo"><p>
TiVo is working on a new version of the <a href="http://www.macminute.com/redirect/tivo">Mac OS X software</a> for its <a href="http://www.macminute.com/redirect/tivo-14535">Home Media Option</a> that will let users stream AAC music files to their TiVo Digital Video Recorder (DVR), in addition to the already supported MP3 format. &#8220;We are working with Apple on a solution to support the AAC file format while also honoring the rights of copyright holders,&#8221; a TiVo spokesperson told MacMinute.
</p></blockquote>
<p>
This is <em>great</em> news for us Mac/TiVo users. As soon as <a href="http://apple.com/itunes/">iTunes 4.0</a> was released, the lack of AAC support, both protected and unprotected, quickly became the largest shortcoming of the Home Media Option. Representatives from TiVo claimed that since iTunes 4.0 was released after the HMO, TiVo was not required to support the format. However, I&#8217;ve been expecting an announcement like this since Apple started selling TiVos in Apple Stores last week.
</p>
<p>
Furthermore, it looks like TiVo and Apple are working on a method that will enable the HMO to work with both unprotected AAC files and the protected files purchased from the <a href="http://apple.com/music/store/">iTunes Music Store</a>. Whether the solution will be involve using a TiVo as one of your three authorized &#8220;computers&#8221; or if you stream to unlimited TiVos (like you can copy to unlimited iPods) remains to be seen.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2003/05/28/aac-and-hmo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TiVo Hacks</title>
		<link>http://raoli.com/2003/05/20/tivo-hacks/</link>
		<comments>http://raoli.com/2003/05/20/tivo-hacks/#comments</comments>
		<pubDate>Wed, 21 May 2003 04:47:54 +0000</pubDate>
		<dc:creator>Eric Blair</dc:creator>
				<category><![CDATA[TiVo]]></category>

		<guid isPermaLink="false">http://www.raoli.com/?p=75</guid>
		<description><![CDATA[
Excellent. O&#8217;Reilly announced that TiVo Hacks is the latest title in the Hacks Series. TiVo Hacks is being written by Raffi Krikorian.


Kirk McElhearn&#8217;s review of Google Hacks makes it sound like the book covers some fairly advanced topics, so I have high hopes for TiVo Hacks. [via raelity bytes]


Moved to the new TiVo category.
]]></description>
			<content:encoded><![CDATA[<p>
Excellent. <a href="http://oreilly.com/">O&#8217;Reilly</a> announced that <a href="http://www.amazon.com/exec/obidos/ASIN/0596005539/raolicom-20">TiVo Hacks</a> is the latest title in the <a href="http://hacks.oreilly.com/">Hacks Series</a>. TiVo Hacks is being written by Raffi Krikorian.
</p>
<p>
Kirk McElhearn&#8217;s <a href="http://atpm.com/9.05/google.shtml">review</a> of <a href="http://www.amazon.com/exec/obidos/ASIN/0596004478/raolicom-20">Google Hacks</a> makes it sound like the book covers some fairly advanced topics, so I have high hopes for TiVo Hacks. [via <a href="http://www.raelity.org/archives/oreilly/books/tivo_hacks.html" title="TiVo Hacks">raelity bytes</a>]
</p>
<p class="update">
Moved to the new TiVo category.</p>
]]></content:encoded>
			<wfw:commentRss>http://raoli.com/2003/05/20/tivo-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.268 seconds -->
