<?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>Wise on Tech &#187; AppleTV</title>
	<atom:link href="http://www.wiseontech.com/tag/appletv/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiseontech.com</link>
	<description>Hacks, scripts and ideas for the refined geek.</description>
	<lastBuildDate>Thu, 22 Jul 2010 14:48:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Windows 7 Media Center + Extender vs. Mac OS X + AppleTV = not a fair fight.</title>
		<link>http://www.wiseontech.com/review/wmc-vs-appletv-not-a-fair-fight</link>
		<comments>http://www.wiseontech.com/review/wmc-vs-appletv-not-a-fair-fight#comments</comments>
		<pubDate>Fri, 14 May 2010 16:01:43 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Media Center]]></category>
		<category><![CDATA[XBox 360]]></category>

		<guid isPermaLink="false">http://www.wiseontech.com/?p=287</guid>
		<description><![CDATA[I am a long-time Apple TV user, stubbornly making Apple's "hobby" useful in my home theater with an array of hacks and community developments -- despite their efforts to keep it locked up. I found that, once hacked, it was the most flexible and elegant thing out there for getting my media from my computer [...]]]></description>
			<content:encoded><![CDATA[<p>I am a long-time Apple TV user, stubbornly making Apple's "hobby" useful in my home theater with an array of hacks and community developments -- despite their efforts to keep it locked up. I found that, once hacked, it was the most flexible and elegant thing out there for getting my media from my computer to my TV. With Windows 7, and my unabashed enthusiasm for it, I decided to give Windows Media Center another try. What I discovered puts my hard-hacked Apple TV solution to shame...</p>
<p><strong>OS X + AppleTV</strong></p>
<p><img class="alignright size-full wp-image-288" title="AppleTV" src="http://www.wiseontech.com/wp-content/uploads/2010/05/atv.jpg" alt="" width="250" height="168" align="right" />To start with, the Apple TV is a good iTunes Store device. If you're happy consuming only the content Apple offers through their store, and want a way to get it on your TV, its a good solution.<br />
No one gets all their content through iTunes, though, so enter the <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL1BhdGNoc3RpY2s=">Patchstick</a>. With it you can unlock Apple TV's OS X potential, allowing SMB or AFS file sharing with your computer, run an app called <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FwcGxldHYubmFub3BpLm5ldC8=">Sapphire</a> to put a pretty face on your media library, and even install <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5ib3hlZS50di8=">Boxee</a> to get access to a number of additional Internet-delivered content providers.</p>
<p>Hacked, the Apple TV is a very useful device, and as long as you don't mind trailing Apple's updates by a couple weeks to a couple months, using it along-side a Mac and an iPhone/iPod touch its a elegant and cohesive solution -- most of the time. Add an Airport Express or two in some other rooms, and you have a whole-home music and video set-up.</p>
<p>The biggest complaint I had is that the FrontRow experience pales compared to the Apple TV. In our set-up the computer doubled as the bedroom media center, and while it was nice that both the home theater and our bedroom could share the same media, the experience lost cohesiveness at the computer...</p>
<p>On the Mac -- the more powerful device -- we'd frequently be switching between FrontRow, the Finder and iTunes to manage content. I couldn't imagine using a Mac as a home-theater-only device; you constantly need to pick up the keyboard and mouse. The Mac itself was essentially unaware of the AppleTV, save for syncing content. And FrontRow is essentially unaware of the iTunes Store. Its like Apple isn't really sure where an actual computer fits into the scenario.<br />
I used a Rube-Goldberg device of RSS &gt; Google Reader &gt; <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xpZmVoYWNrZXIuY29tL3NvZnR3YXJlL2dvb2dsZS1yZWFkZXIvZG93bmxvYWQtb2YtdGhlLWRheS1nb29nbGUtcmVhZGVyLW5vdGlmaWVyLW1hYy0yMTM2NjMucGhw">Google Reader Notifier</a> &gt; <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy50cmFuc21pc3Npb25idC5jb20vZG93bmxvYWQucGhw">Transmission</a> BitTorrent client to get my subscription-delivered content -- a fragile chain that broke not infrequently -- and an AppleScript scheduled via iCal to keep the file system clear of stale content.</p>
<p>Updates on the Apple TV became a management nightmare -- the device is under-powered to begin with, so every couple months it would need a wipe and restore. When that happens, expect to carve out a couple hours to get the hacks back into place. On top of that, the stinking device doesn't have an On/Off switch, so I had to co-ordinate timers and CRON jobs to keep it healthy and prevent it from sucking through my power bill.</p>
<p>Don't get me wrong. Its workable. Its lightyears ahead of what your cable company offers. And it <em>is</em> pretty slick when its all working - no one can accuse Apple of making ugly UIs. It looks <em>good</em>. If you already have a Mac, you can pick up an AppleTV for pretty cheap, and get started at a reasonably low cost. But since you can't do much without hacking, this isn't a solution I'd expect my parents to use.</p>
<p><strong>WMC 7 + XBox Media Center Extender</strong></p>
<p><img class="alignright size-full wp-image-289" title="Windows 7 Media Center" src="http://www.wiseontech.com/wp-content/uploads/2010/05/w7mc-internet-tv-02-lg.jpg" alt="" width="250" height="168" align="right" />The reason I've stayed away from Windows Media Center, and its Extenders, in the past, is that I'd constantly hit a brick wall trying to use content not natively supported. It felt cludgy, and its use of what was essentially Remote Desktop Protocol just seemed like a half-hearted attempt.</p>
<p>A lot has changed in Windows 7. It natively supports MP4, and DivX AVIs, so right out of the box it plays almost anything you throw at it -- no hacking needed. Its still pretty much RDP under the hood, but that technology has matured to the point where you don't even notice it any more. In fact, because it ensures a consistent experience between the Extender and the PC, its actually a good thing.</p>
<p>The approach is different than the Apple TV -- the Extender is a function of the computer. While the AppleTV can do things that FrontRow can't do, in the Microsoft scenario, the Extender is somewhat dumb. Turns out, this is fine. I <em>expect</em> my PC to be more powerful than my TV. But there's not a whole lot of compromise. Some of the Extras don't appear on my TV, and a few menu options are left out when shown on the Extender. Otherwise, the experience is the same.</p>
<p>The two most important things about Windows Media Center are that it's consistent across devices, and it's extensible across devices:</p>
<ul>
<li>It's <em>so</em> <em>consistent</em> that I can pause a movie downstairs on the big TV, go upstairs and resume the show where I left off from the bedroom.</li>
<li>It's <em>so</em> <em>extensible</em> that I don't have to hack it to add plug-ins, or new functionality -- I just run an installer on my PC, and both it, and my Extender device are instantly upgraded.</li>
</ul>
<p>A low-end <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy54Ym94LmNvbS9lbi1DQS9oYXJkd2FyZS94L3hib3gzNjBhcmNhZGVzeXN0ZW0v">XBox costs less</a> than an <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3N0b3JlLmFwcGxlLmNvbS9jYS9icm93c2UvaG9tZS9zaG9wX2lwb2QvZmFtaWx5L2FwcGxlX3R2P21jbz1NVFkzT0RRNU9UWQ==">Apple TV</a>, is way more powerful and responsive, has an Off switch, and oh ya... it plays great games too. Everything "just works" together: you plug it in, follow a pairing process no more complicated than the Apple TV requires, and within seconds all your content -- regardless of source -- is available. There are dozens of online content providers built right into Windows Media Center, and others can be added on simply by even a novice computer user.</p>
<p>I use a <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy51dG9ycmVudC5jb20vZG93bmxvYWRzLw==">uTorrent</a> on the PC with the RSS functionality <em>built-in</em> for my subscribed content, which shows up in the "Pictures + Videos" section of WMC instantly. And best of all, I put the keyboard and mouse away, because I can do pretty much all common media management tasks on the PC right from my remote.</p>
<p><strong>Not a Fair Fight</strong></p>
<p>Apple really only has their toes in the water here, and Microsoft has been working up to Windows 7 for quite awhile. But while Apple has the iTunes Store and the devices, Microsoft's only real asset in this arena is the XBox. Apple could, if they chose, offer a cohesive PC/TV/Mobile media acquisition and consumption strategy, but I think they're genuinely unsure of where the computer should fit into the picture -- they prefer a locked-down environment, but a full computer gives the user more control than they're comfortable with -- so they've moved timidly into the living room.</p>
<p>Microsoft has chosen a more open path, with any number of Extender devices, (you don't have to buy an XBox -- other devices will do the same job) a broader array of native media types, and extensibility offered to other content providers besides their own store. Windows 7 is really good, and Windows 7 Media Center trumps everything else out there, hands down.</p>
<p><strong>Full Disclosure</strong></p>
<p>Despite being a Microsoft employee, my job has nothing to do with Windows Media Center or XBox. Aside from employee pricing in the company store, there's no perk for me to use the Microsoft offering over anyone elses, and no job expectation that I will do so. I choose freely what technology goes into my home, and I have a very heterogenerous network, with Macs, PCs and other devices playing happily on my WiFi -- check out my tag cloud: I like Apple stuff!</p>
<p>For a long time I stuck with the Apple TV because, once hacked, it was the best solution out there -- regardless of who I work for. That is no longer the case. Windows Media Center 7 with an Extender is a better, more elegant, more flexible and more cohesive solution. Don't believe me? Try it out -- I think you'll see, as I did, that in this round, Windows is the clear winner.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=287" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=287&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/review/wmc-vs-appletv-not-a-fair-fight/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AppleTV for Mac</title>
		<link>http://www.wiseontech.com/release/appletv-for-mac</link>
		<comments>http://www.wiseontech.com/release/appletv-for-mac#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:35:33 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Software Releases]]></category>
		<category><![CDATA[AppleTV]]></category>

		<guid isPermaLink="false">http://www.wiseontech.com/?p=255</guid>
		<description><![CDATA[This remains the most popular thing I've ever posted -- despite the fact that its really nothing special. The meat of it is a little start-up script that contains no undiscoverable tricks. I don't even use it any more! Nonetheless, it's in-demand, and I can't find a hosting method that can keep up. So, here's [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-273" title="AppleTV" src="http://www.wiseontech.com/wp-content/uploads/2009/12/appletv.jpg" alt="" width="175" height="178" />This remains the most popular thing I've ever posted -- despite the fact that its really nothing special. The meat of it is a little start-up script that contains no undiscoverable tricks. I don't even use it any more!<br />
Nonetheless, it's in-demand, and I can't find a hosting method that can keep up. So, here's my solution:</p>
<ul>
<li>The start-up movie is no longer available here -- it probably shouldn't have been posted here to begin with. If you find someone with a Patchsticked AppleTV, it's trivial to SCP in and grab the start-up movie (<a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL2NoYW5naW5nLXRoZS1zdGFydHVwLW1vdmllLW9uLWFwcGxldHYtdGFrZS0y">discussed here</a>.)<br />
You can also use any other movie you want, which you specify when you edit the script.<br />
 </li>
<li>The screen saver never worked right on a normal Mac, but <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9yZWxlYXNlL2FwcGxldHYtc2NyZWVuLXNhdmVyLWZvci1hLXJlZ3VsYXItbWFj" target=\"_blank\">Scott Q has engineered a replacement</a>. His link appears to be down, but get in touch with him and send him your thanks.<br />
 </li>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMi9BcHBsZVRWLVN0YXJ0dXAtU2NyaXB0LnR4dA==">The script itself is still available here</a>.<br />
Copy and Paste the script into the AppleScript editor, updating it to provide the path to where ever you want your start-up video, and save it as a run-only script. Add it as a Login item in your account, and you're set.<br />
 </li>
<li>The background image I made is <em>awful </em>(it was just a screen shot) and I'm sure someone's made better, but I'll <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8xMi9BcHBsZVRWLVdhbGxwYXBlci5wbmc=">keep that here if you want it</a>. If you do this right, you should only see the wallpaper for a few seconds anyway, so if you make yourself an all black image, or find a nice Apple logo, you'll be all set.</li>
</ul>
<p>And honestly, that's all that was released. Like I said, nothing magical. My Mac Mini worked fine as a Home Theater PC, but eventually I just went with an actual hacked AppleTV (which smoothly handles anything but MKV) because I wanted my Mac for other things. If you find any other great ideas, feel free to share them here!</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=255" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=255&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/release/appletv-for-mac/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automating an Apple TV with Cron</title>
		<link>http://www.wiseontech.com/hack/automating-an-apple-tv-with-cron</link>
		<comments>http://www.wiseontech.com/hack/automating-an-apple-tv-with-cron#comments</comments>
		<pubDate>Fri, 16 Jan 2009 14:48:14 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=223</guid>
		<description><![CDATA[Copy and enable Cron from 10.4. Schedule Cron jobs using crontab at the command line. Use Ctrl+D to exit crontab once all your jobs are created. Examples: Restart the AppleTV at 8:10am every morning (say, to re-establish network connections with computers that were off during the night): 10 8 * * * sudo /sbin/reboot Shutdown [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL1Rha2VfMl9GdWxsX1VwZGF0ZSMxMC4yOV9DcmVhdGVfcmMubG9jYWw=" target=\"_blank\">Copy and enable Cron</a> from 10.4.</p>
<p><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hZG1pbnNjaG9pY2UuY29tL2RvY3MvY3JvbnRhYi5odG0=">Schedule Cron jobs</a> using crontab at the command line. Use Ctrl+D to exit crontab once all your jobs are created.</p>
<p><strong>Examples:</strong></p>
<p>Restart the AppleTV at 8:10am every morning (say, to re-establish network connections with computers that were off during the night):</p>
<p><code>10 8 * * * sudo /sbin/reboot</code></p>
<p>Shutdown the AppleTV at 1:00am every morning:</p>
<p><code>0 1 * * * sudo /sbin/shutdown -h now</code></p>
<p>You'll need to enable the frontrow account to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL3VzaW5nLWFwcGxlc2NyaXB0LWFuZC1hLXNoZWxsLXNjcmlwdC10by1yZXN0YXJ0LWFuLWFwcGxldHYtcmVtb3RlbHk=">use sudo without a password</a>.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=223" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=223&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/automating-an-apple-tv-with-cron/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AppleTV Screen Saver &#8211; for a regular Mac!</title>
		<link>http://www.wiseontech.com/release/appletv-screen-saver-for-a-regular-mac</link>
		<comments>http://www.wiseontech.com/release/appletv-screen-saver-for-a-regular-mac#comments</comments>
		<pubDate>Fri, 07 Nov 2008 15:31:08 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Software Releases]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=183</guid>
		<description><![CDATA[Here's a cool little release for those interested in making a Mac more like an AppleTV. Scott Q writes: I've just finished writing my own version of the AppleTV screen saver called QTV. After lots of searching I couldn't find anybody that had a working version that actually did the same stuff the real AppleTV [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a cool little release for those interested in <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9yZWxlYXNlL3R1cm5pbmctYS1tYWMtbWluaS1pbnRvLWFuLWFwcGxldHY=">making a Mac more like an AppleTV</a>.<br />
Scott Q writes:</p>
<p><em>I've just finished writing my own version of the AppleTV screen saver called QTV. After lots of searching I couldn't find anybody that had a working version that actually did the same stuff the real AppleTV version did. QTV will work on both Tiger and Leopard (10.4 &amp; 10.5) and has a random array of photos that you specify floating vertically across your screen at varying 3D depths and moving at varying speeds while periodically rotating as a group. My version also allows you to optionally have a glimmering sun cast it's glow across the entire scene. You control everything thru various settings including: speed of front, middle and rear photo scrolling, the folder to search for images in, spin to the left or right, cast shadows from front and middle photos, the rotation interval speed, and whether to show the glowing sun or not.</em></p>
<p><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zY290dHF1aWxsZW4uY29tL1RoZV9RdWlsbGVuX0ZpbGVzL0Jsb2cvRW50cmllcy8yMDA4LzEwLzI1X1FUVl8tX0FuX0FwcGxlVFYtTGlrZV9TY3JlZW5fU2F2ZXJfZm9yX01hY19PU19YJTJDX2ZpbmFsbHkuLmh0bWw=">Read more about QTV and download from his website!</a></p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=183" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=183&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/release/appletv-screen-saver-for-a-regular-mac/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing the Startup/ Intro movie on an AppleTV Take 2</title>
		<link>http://www.wiseontech.com/hack/changing-the-startup-movie-on-appletv-take-2</link>
		<comments>http://www.wiseontech.com/hack/changing-the-startup-movie-on-appletv-take-2#comments</comments>
		<pubDate>Mon, 11 Aug 2008 16:55:15 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleTV]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=124</guid>
		<description><![CDATA[The original AppleTV software had a beautiful startup movie (startup.mov) that I loved. It, along with many other nice features of 1.x were replaced in the Take Two update. Granted Take Two brought a lot of new functionality with it, but I still mourn the simplicity and elegance of the 1.x software. The new startup [...]]]></description>
			<content:encoded><![CDATA[<p>The original AppleTV software had a beautiful startup movie (startup.mov) that I loved. It, along with many other nice features of 1.x were replaced in the Take Two update. Granted Take Two brought a lot of new functionality with it, but I still mourn the simplicity and elegance of the 1.x software. The new startup movie (Intro.m4v) particularly bugs me. So I decided to do something about it.</p>
<p>First, I found and extracted the original Startup.mov from my AppleTV before I upgrade to Take Two. Then I went hunting for where Apple had stashed its replacement in the Take Two OS Install. You can find it here:</p>
<p><code>/System/Library/CoreServices/Finder.app/Contents/Resources/Intro.m4v</code></p>
<p>Note that they moved from using an MOV to using an M4V file for the movie. I messed around with trying to convert the original MOV into an M4V, but everything I tried was too lossy. By the way, the "Export for AppleTV" setting you find in Mac software that supports it does not export to the highest bit rate that the AppleTV is capable of -- it actually can handle up to a 6500MBPS combined bit rate.</p>
<p>So I tried Export in QuickTime, I tried all the different settings in FFMPEG, but I still wasn't happy with the result. So I decided I'd try a Symlink instead, to fool the AppleTV into playing the file <em>I</em> wanted. Note that you could do this with any movie file the AppleTV is capable of playing, so you can customize your start-up to your heart's content! Here's the steps I took. You'll obviously need a patch-sticked AppleTV to do these steps:</p>
<ul>
<li>Copy over (using SCP/Fugu/WinSCP) the startup.mov file</li>
<li>SSH into your AppleTV</li>
<li><code>sudo bash</code></li>
<li><code>mount -uw /</code></li>
<li><code>cp ~/Startup.mov /System/Library/CoreServices/Finder.app/Contents/Resources</code></li>
<li><code>cd /System/Library/CoreServices/Finder.app/Contents/Resources</code></li>
<li><code>mv Intro.m4v Intro-Take2.m4v</code></li>
<li><code>chown root:wheel Startup.mov</code></li>
<li><code>ln -s Startup.mov Intro.m4v</code></li>
<li><code>reboot</code></li>
</ul>
<p>When its done booting, you should see the new (old) startup movie! All we're doing here is copying in the original movie, backing up the existing one, fixing any permission problems, and creating a Symlink so that when the boot process goes to open Intro.m4v its redirected to Startup.mov!</p>
<p>Symlinks have to be one of the coolest things about using a Unix-based OS...</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=124" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=124&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/changing-the-startup-movie-on-appletv-take-2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using PHP and a Shell Script to Restart an AppleTV remotely &#8212; via the web</title>
		<link>http://www.wiseontech.com/hack/using-php-and-a-shell-script-to-restart-an-appletv-remotely-via-the-web</link>
		<comments>http://www.wiseontech.com/hack/using-php-and-a-shell-script-to-restart-an-appletv-remotely-via-the-web#comments</comments>
		<pubDate>Tue, 22 Jul 2008 16:30:18 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=112</guid>
		<description><![CDATA[As a follow up to my previous post, here's how to do the same thing, but from a web browser (say, on your iPhone) -- it assumes you've already written a shell script, as discussed earlier. Configure Apache to run PHP on your Mac (these instructions are for Leopard, but similar ones are out there [...]]]></description>
			<content:encoded><![CDATA[<p>As a follow up to my <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL3VzaW5nLWFwcGxlc2NyaXB0LWFuZC1hLXNoZWxsLXNjcmlwdC10by1yZXN0YXJ0LWFuLWFwcGxldHYtcmVtb3RlbHk=">previous post</a>, here's how to do the same thing, but from a web browser (say, on your iPhone) -- it assumes you've already written a shell script, as discussed earlier.</p>
<ul>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5wcm9jYXRhLmNvbS9ibG9nL2FyY2hpdmVzLzIwMDcvMTAvMjgvd29ya2luZy13aXRoLXBocC01LWluLW1hYy1vcy14LTEwNS8=">Configure Apache to run PHP on your Mac</a> (these instructions are for Leopard, but similar ones are out there for Tiger)</li>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xkb3BhLm5ldC8yMDA2LzAyLzI1L2JyaWRnaW5nLXBocC1hbmQtYXBwbGVzY3JpcHQv">Configure Apache to run as your own user</a>, instead of the WWW user -- a serious security risk. Only do this on an internal network! The WWW user won't have adequate permissions to do what we need to.</li>
<li>Put <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOC8wNy9yZXN0YXJ0bWVkaWFwaHAudHh0">this .php page</a> in your /Library/WebServer/Documents/ folder as RestartMedia.php -- you'll need to supply your own image file in the same path as well.</li>
<li>Visit http://<em>yourcomputer</em>.local/RestartMedia.php from a browser. Clicking on the text or image will execute a shell script located at: /Applications/Automation/RebootMediaServers.sh</li>
</ul>
<p>Obviously you can customize this at will, including file locations. This was just a quick hack that does the job for me -- and the webpage is optimized for Mobile Safari.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=112" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=112&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/using-php-and-a-shell-script-to-restart-an-appletv-remotely-via-the-web/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using AppleScript and a Shell Script to Restart an AppleTV remotely</title>
		<link>http://www.wiseontech.com/hack/using-applescript-and-a-shell-script-to-restart-an-appletv-remotely</link>
		<comments>http://www.wiseontech.com/hack/using-applescript-and-a-shell-script-to-restart-an-appletv-remotely#comments</comments>
		<pubDate>Mon, 21 Jul 2008 23:43:46 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[AppleTV]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=110</guid>
		<description><![CDATA[Both my media serving devices (a NAS, and a Mac Mini) are using TwonkyVision Media Server to share media using uPnP. It works great, but as I mentioned earlier, I needed a script to make it start back up in the morning. Unfortunately, I've found that my AppleTV freaks out a bit when this happens, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright alignnone size-full wp-image-111" style="float: right;" title="appletv" src="http://www.wiseontech.com/wp-content/uploads/2008/07/appletv.jpg" alt="" width="225" height="125" /></p>
<p>Both my media serving devices (a NAS, and a Mac Mini) are using TwonkyVision Media Server to share media using uPnP. It works great, but as I <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL3Jlc3RhcnQtdHdvbmt5bWVkaWEtYWZ0ZXItc2NoZWR1bGVkLXNsZWVw">mentioned earlier</a>, I needed a script to make it start back up in the morning.</p>
<p>Unfortunately, I've found that my AppleTV freaks out a bit when this happens, and as a result, needs its own reboot. Restarting the Finder helps, but streaming still gets weird, so a full, daily reboot is in order. Using the same iCal-alarm-firing-an-AppleScript trick, I updated my Twonky restart script to also tell the AppleTV to restart. But it wasn't that easy.</p>
<ul>
<li>First of all, you need to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53aXNlb250ZWNoLmNvbS9oYWNrL2dlbmVyYXRpbmctcnNhLWtleXBhaXJzLW9uLW1hYy1vcy14LWZvci1hLW5peC13ZWItc2VydmVy">exchange keypairs</a> with the AppleTV so that you can login over ssh without a password. If you're using an older patchstick, the process is a little different, since it may only support ssh1. This wiki page explains the process, and the <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL2luZGV4LnBocD90aXRsZT1JbnN0YWxsX1NTSCNVc2luZ19Qcm90b2NvbF8x">slight tweak to it for ssh1</a>.</li>
</ul>
<ul>
<li>Second, you need to set the AppleTV up to allow you to sudo without a password. This is harder than it sounds, and requires modifying the /etc/sudoers file on the AppleTV. The only way I found to do that was to <code>sudo cat /etc/sudoers &gt; ~/sudoers</code> the file (which <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5yZWRoYXQuY29tL2RvY3MvbWFudWFscy9saW51eC9SSEwtOS1NYW51YWwvZ2V0dGluZy1zdGFydGVkLWd1aWRlL3MxLW5hdmlnYXRpbmctdXNpbmdjYXQuaHRtbA==">dumps the contents of one file to another</a>, which you can access more easily), copy it over to my Mac, edit it, copy it back, set the permissions, and sudo mv it back over-top the original. You'll need to add this line to the bottom of the sudoers file:<code><br />
frontrow ALL=(ALL) NOPASSWD: ALL<br />
</code></li>
<li><strong>Make sure you change the permissions (chmod 0440) and ownership (chown root:wheel) on your new sudoers</strong> <strong><em>before </em>you replace the original, or you'll screw yourself out of sudo!</strong></li>
</ul>
<p>To test those things, you could go to Terminal on your Mac and try something like:<br />
<code>ssh -1 frontrow@appletv.local 'sudo ls-l'</code></p>
<p><em>(drop the -1 for newer Patchsticks)</em></p>
<p>If you've setup everything right, you shouldn't get prompted for a password to login OR to get a directory listing. Once that works, the AppleScript is easy and looks like this:</p>
<p><code>do shell script "ssh -1 frontrow@appletv.local 'sudo reboot' &amp;&gt; /dev/null &amp;"</code></p>
<p><em>(drop the -1 for newer Patchsticks)</em></p>
<p>At some point, I'm also going to attach this to a PHP script (somehow) so I can use Safari on my iPhone to do a reboot from the couch if needed. I've only found two other ways to reboot the AppleTV -- yanking the power cord, or using the remote to put it in recovery mode. Neither seems as elegant as my solution.</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=110" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=110&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/using-applescript-and-a-shell-script-to-restart-an-appletv-remotely/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hacking the AppleTV &#8211; Fourth time&#8217;s the Charm!</title>
		<link>http://www.wiseontech.com/hack/fourth-times-the-charm</link>
		<comments>http://www.wiseontech.com/hack/fourth-times-the-charm#comments</comments>
		<pubDate>Thu, 10 Jul 2008 12:16:47 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleTV]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=107</guid>
		<description><![CDATA[So last night, after 4 passes, I finally got the AppleTV hacked to my satisfaction. I had to give up on a few features in the name of keeping things stable and easy for the family to use, but it does everything I really wanted it to, and runs smoothly... This morning, they released the [...]]]></description>
			<content:encoded><![CDATA[<p>So last night, after 4 passes, I finally got the AppleTV hacked to my satisfaction. I had to give up on a few features in the name of keeping things stable and easy for the family to use, but it does everything I really wanted it to, and runs smoothly...</p>
<p>This morning, they released the AppleTV 2.1 Update.</p>
<p>I did manage to get Nito TV's Smart Installer and Turbo's Kext Loader running in 2.0.2, but the result was a system so jam packed with stuff it wasn't supposed to do that video play-back suffered badly. Here's the steps I took, in case anyone else wants to try it:</p>
<ul>
<li>Do a clean restore on your AppleTV. Any previous failed hacking attempts will confuse the installer.</li>
<li>Patchstick</li>
<li>Copy over the Nito TV Installer and run it</li>
<li><code>sudo bash</code> then <code>mount -uw /</code> to get write access</li>
<li>Run Nito TVs Fix Permissions script: <code>sudo /System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance/Contents/Resources/fixPerm</code></li>
<li>Make a directory called Documents in ~/</li>
<li>Copy the 10.4.9 Combo Update into that folder</li>
<li>Install Turbo's Kext Loader via the Nito TV UI on your AppleTV</li>
<li>Run the Smart Installer</li>
<li>Assuming it succeeds, use a 10.4.9 install to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL01vdW50X2FfUmVtb3RlX0RyaXZlX3ZpYV9BRlBfdW5kZXJfMS4xI0Zyb21fSW50ZWxfTWFj">copy the necessary libraries, per these instructions</a>.<a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zZW10aGV4LmNvbS92aWV3dG9waWMucGhwP2Y9MiZhbXA7dD0xMzM4JmFtcDtzdD0wJmFtcDtzaz10JmFtcDtzZD1hJmFtcDtzaWQ9ODYwMDQxOTkyNGY5OGU4N2QwNWNhYThkYjAzZDhiMGUmYW1wO3N0YXJ0PTEwI3A4MTMy"></a></li>
<li>You'll probably also need to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ZvcnVtLmF3a3dhcmR0di5vcmcvdmlld3RvcGljLnBocD9mPTE4JmFtcDt0PTE3NDQmYW1wO3N0PTAmYW1wO3NrPXQmYW1wO3NkPWEmYW1wO3N0YXJ0PTEwI3AxMDAxOQ==">fix permissions on the AppleShare stuff</a></li>
<li>Then try a manual mount: <code>mount_afp -i afp://user:password@192.168.1.110/media /Users/frontrow/Movies/</code></li>
<li>If that works, you're in business! Reboot to clear that mount, and check out <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FwcGxldHYubmFub3BpLm5ldC8=">Sapphire</a> to load content from your mounted folders.</li>
<li>Finally, install the MPlayer Codecs from the NitoTV UI, then Perian.</li>
</ul>
<p>Also, I do <em>not</em> recommend using Perian for H.264 decoding. Let the AppleTV built-in stuff do that -- seems to work better for me... and once you switch, there's no easy way to go back.</p>
<p><strong>Now about 2.2 and 2.3...</strong></p>
<p>All of this seems to work on 2.1, 2.2 and 2.3.<strong><br />
</strong></p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=107" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=107&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/fourth-times-the-charm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart TwonkyMedia after scheduled sleep</title>
		<link>http://www.wiseontech.com/hack/restart-twonkymedia-after-scheduled-sleep</link>
		<comments>http://www.wiseontech.com/hack/restart-twonkymedia-after-scheduled-sleep#comments</comments>
		<pubDate>Wed, 09 Jul 2008 16:03:42 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[AppleTV]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=106</guid>
		<description><![CDATA[In our house, a Mac Mini serves at the content library host. It runs iTunes and shares other media files. At night it runs a number of scheduled tasks to keep things orderly and fresh, and when its done (at about 4:00am) it goes to sleep until 8:00am when my wife will want to use [...]]]></description>
			<content:encoded><![CDATA[<p>In our house, a Mac Mini serves at the content library host. It runs iTunes and shares other media files. At night it runs a number of scheduled tasks to keep things orderly and fresh, and when its done (at about 4:00am) it goes to sleep until 8:00am when my wife will want to use it again.</p>
<p>TwonkyMedia server, which is delivering our non-iTunes content onto the AppleTV (via the MediaCloud uPnP client) has a problem with this. It doesn't recover well from sleep.</p>
<p>The solution is to run an AppleScript every morning at 8:01 to re-start TwonkyMedia. This little AppleScript will access Twonky's built-in shell script to shut down any running instances, and start-up a fresh one:</p>
<p><code>do shell script "/Applications/MediaServer.app/Contents/MacOS/twonkymedia.sh &amp;&gt; /dev/null &amp;"</code></p>
<p>The "&amp;&gt; /dev/null &amp;" sends the shell script's output to oblivion so that AppleScript doesn't hang waiting for the server to start-up.</p>
<p>The only annoying part about this is that every time TwonkyMedia starts up, it wants to take you to its home page in your browser. Follow these directions to <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy50d29ua3lmb3J1bS5jb20vdmlld3RvcGljLnBocD9mPTcmYW1wO3Q9NDkyMg==" target=\"_blank\">make TwonkyMedia start-up silently</a> (last post on the page.)</p>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=106" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=106&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/restart-twonkymedia-after-scheduled-sleep/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scattered notes on hacking Apple TV 2.0 (aka Take Two)</title>
		<link>http://www.wiseontech.com/hack/scattered-notes-on-hacking-apple-tv-20-aka-take-two</link>
		<comments>http://www.wiseontech.com/hack/scattered-notes-on-hacking-apple-tv-20-aka-take-two#comments</comments>
		<pubDate>Tue, 08 Jul 2008 02:32:52 +0000</pubDate>
		<dc:creator>Jonathan Wise</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[AppleTV]]></category>

		<guid isPermaLink="false">http://software.jonandnic.com/?p=105</guid>
		<description><![CDATA[Useful bash commands: sudo the whole session: sudo bash mount file system as read/write: mount -uw / remove a whole directory recursively (be careful!): rm -r /folder modify Hosts file to prevent the AppleTV from reaching the Update server... sudo bash -c 'echo "127.0.0.1 mesu.apple.com" &#62;&#62; /etc/hosts' Don't bother trying to get AFP or SMBFS [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Useful bash commands:<strong><br />
</strong><strong>sudo the whole session:</strong><br />
sudo bash<strong></strong></p>
<p><strong>mount file system as read/write:</strong><br />
mount -uw /</p>
<p><strong>remove a whole directory recursively (be careful!):</strong><br />
rm -r /folder</p>
<p><strong>modify Hosts file to prevent the AppleTV from reaching the Update server...</strong><br />
sudo bash -c 'echo "127.0.0.1       mesu.apple.com" &gt;&gt; /etc/hosts'</li>
<li>Don't bother trying to get AFP or SMBFS working in 2.0.2. Even if you put in the missing executable from a Tiger install, and the missing library files, it still won't work. <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovLzB4ZmVlZGJlZWYuY29tL2FwcGxldHYv">Turbo's Kext Loader</a> runs, but the kexts won't work in 2.0.2.<br />
Just live with SSH and SCP. A front-end like Fugu will make things a little easier. Will need an uPnP server to get content from another source.</li>
<li>Although its possible to build a Patchstick without a Tiger install, its not worth the effort. Install Tiger (on an Intel Mac), and <em>make sure you update to 10.4.9</em> -- otherwise you'll be missing components the Patchstick creator needs.</li>
<li>Built a working <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL1Rha2UycGF0Y2g=">Patchstick using these directions</a> from the AwkwardTV Wiki.<br />
I used a 128MB USB key -- tried using an old iPod Shuffle (512MB) but it wouldn't boot.<br />
Execute createPatchstick with no switches to find with disk# to use for my USB stick.</li>
<li>Trying out <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3dpa2kuYXdrd2FyZHR2Lm9yZy93aWtpL05pdG9UVg==">NitoTV</a> as an additional media player -- most stuff works, some doesn't on 2.0.2.</li>
<li>Trying out <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJzLnBhbmRvcmEuYmUvYnJ1bm8ua2V5bW9sZW4vaG1lZGlhLmh0bWw=">MediaCloud</a> as a uPnP media finder. It works great.</li>
<li>Most of <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pY2xhcmlmaWVkLmNvbS9lbnRyaWVzL2luZGV4LnBocD9jYWlkPTImYW1wO3NjaWQ9Ng==">iClarified's AppleTV tutorials</a> are out-of-date/work for 1.x only <img src='http://www.wiseontech.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </li>
<li>Need to get the audio component of the <a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3RyYWMuY29kM3IuY29tL2E1MmNvZGVjLw==">AC52Codec</a> into /Libary/Audio/Plug-Ins/Components to get those high quality DivX rips working with sound.</li>
<li><a href="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy50d29ua3l2aXNpb24uY29tL0Rvd25sb2FkL1R3b25reU1lZGlhL2luZGV4Lmh0bWw=">Twonky Media</a> is a decent multi-platform uPnP server for getting content from a Mac onto the AppleTV. Costs about $30.</li>
</ul>
 <img src="http://www.wiseontech.com/wp-content/plugins/feed-statistics.php?view=1&post_id=105" width="1" height="1" style="display: none;" /><img src="http://www.wiseontech.com/?ak_action=api_record_view&id=105&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wiseontech.com/hack/scattered-notes-on-hacking-apple-tv-20-aka-take-two/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
