Path Finder

I was playing support for a coworker who got a shiny new MacBook Pro a couple days ago, and he highly recommended I download Path Finder as a replacement for the regular built-in Finder. 20 minutes later, I’m hooked.

If there was a standalone app that Apple should buy out and slap into the next release of OS X (R.I.P. CoverFlow, Dashboard, etc.), this is it.


Quake3 ported to iPhone.  Enough said.Quake 3

AppleTV “Take 2” Software Update Released

AppleTVApple has at long last released Apple TV (Software Update 2.0|Take 2).

We’re picking it apart on the wiki and in the forums, and there’s already a preliminary safe update for it (which I haven’t had time to test, I’m brewing beer 🙂 )

Of interest, it doesn’t seem to shut down the USB port like in 1.x, you can stream iTunes from the computer to it, a-la Airport Express, and the 10.5.2 update I fought last night lets me choose mounted network volumes as Time Machine drives… HMM!
The new “startup movie” is pretty cool too, Leopard-ified.

God damn, four months without updating…  I should get back on this…

Fun with Automator

Automator iconThis post also titled “how to automatically download TV shows and convert them for your iPhone.”


  • I have a shiny new iPhone in need of content
  • TVRSS is great
  • NetNewsWire is godly
  • Transmission makes a fine BitTorrent client
  • VisualHub is an awesome app
  • AtomicParsley is kind to metadata
  • iTunes is not nice with metadata
  • Automator kinda sucks, but can be made functional
  • AppleScript is great
  • Folder Rules FTW

I needed a way to get stuff  from TVRSS into iTunes and onto my iPhone. After most of a weekend hacking and scraping and debugging, and Lather Rinse Repeat, I have come up with an Automator workflow to (in conjunction with everything listed above) automagically find, download via torrent, transcode, metadata-ify, and copy videos to your iProduct of choice. Note, this was tested with an iPhone on an Intel Mac. I will probably not be re-writing this guide for PC users. Your mileage may vary. This is based pretty heavily on LRR’s guide, with a lot of my own modifications.

You will need the following:

Ok, so you’ve got everything installed. Good. Now first make sure you downloaded and installed that script pack for automation from TechSpansion. Download and decompress, then find VisualHub. Right-click, show package contents to see what’s inside the bundle. Copy the script to the Contents/Resources/Scripts folder. Open VisualHub and the title bar should now read “VisualHub 1.x Automation Tech Preview.” If it doesn’t, you screwed up, so start over.

Easy, huh? Just you wait…

In order to use the new automation features of VH correctly now, we must create a file that contains the settings we’re going to use when run automated. When we get to running and building the script, we will load in this settings file and tell VH to go crazy. Fire up VH. Set it to iTunes, optimize for your iProduct of choice (in this example I’m using iPhone, but I’m guessing it’d work fine for the AppleTV or video iPods), and check the H.264 encoding box. Leave the Quality slider at High and make sure the Send to iTunes box is unchecked. Set your Save To path, and make sure you remember it. This will be important later on. Once you have everything set like you’re going to want it, hit the Advanced button and then the Save Settings button. Pick a path (I chose ~/Documents) and name it iphone.vhub.

Now that VisualHub’s setup, let’s go find some shows we want. Go over to and find a show you want. Switch  groups to either EZTV or VTV to avoid duplicates, and then right click and copy the search-based RSS feed. From there, create a new subscription in NetNewsWire with Cmd-N and paste in the feed URL (NNW should auto-paste it.) Once you’ve got the feed subscribed, go into your NNW prefs and into the Downloading section. Set your downloads folder to your Desktop, and create a sub-folder for each feed. Once this is setup, select the feed in your list and hit Cmd-I. Expand the Enclosures section, check the box for Use Custom Setting, and check the box for Other enclosures. Close this and you’re good.

NNW feed settings

Since the .torrent files are enclosed in the feed, NNW will automatically download them and put them in ~/Desktop/NetNewsWire Enclosures/tvRSS – search based. Now we need to tell Transmission to keep an eye on this folder, and automatically add any .torrents that are created.

Fire up Transmission and rip open your prefs. Create a new folder on your desktop, I named it “torrents.” Set NNW to Download to this folder. Check the box for Keep Incomplete File In: and choose the tvRSS – search based folder (~/Desktop/NetNewsWire Enclosures/tvRSS – search based). Check the box to trash original .torrent files. Now the important part: set the tvRSS – search based as the folder to watch for auto-add.


From here, your Transmission configuration is complete. NNW will refresh the search feed every so often, auto-save the attached torrents to a folder that Transmission will keep an eye on. When it sees new torrents, it’ll start downloading them, and once they’re complete it will move the files to ~/Desktop/torrents. This is the important part, because now we’re going to bust out Automator and create a workflow then folder action that will run whenever files are put in the torrents folder.

First, create another folder on your desktop named iphonemovies. Create a subfolder in there called temp. VisualHub is going to get the original files from the torrents folder, transcode them, and dump them in ~/Desktop/iphonemovies/temp.

In Automator, create a new workflow. Add the “Get Specified Finder Items” action in position 1. Leave it blank, since it’ll fill in when we attach it to a folder.

Add a Run AppleScript in position 2. Jam this code in there, replacing with the name of your hard drive and your short username:

on run {input, parameters}
--we need to unset the default timeout length of two minutes, we'll make it 45
with timeout of (45 * 60) seconds

tell application "VisualHub" to set VisualHub to load script (scripts path of main bundle & "/automation.scpt" as POSIX file)

tell VisualHub
end tell
end timeout
return input
delay 15
end run

This will do all the VisualHub fun. From here, we’re doing good, except for one thing. We need to add some metadata so iTunes knows what to sync. In this case, we’re setting the STIK atom to 10, which iTunes recogizes as a TV show. If we don’t set this atom, iTunes will add in this file as a movie, and that caused issues for me. While we’re at it, we’ll set the TV show name to DailyShow, for easier iPhone syncing later.

Add a third action, Run Shell Script in position 3. Set it to ignore results from previous action, and paste this in:

for i in ~/Desktop/iphonemovies/temp/*.mp4; do /Applications/ $i --stik value=10 --TVShowName DailyShow -o $i >> /dev/null;rm $i;done

Add a fourth action, Find Finder Items. Set the Where to ~/Desktop/iphonemovies/temp and the Kind Is Movie.

Add a fifth action, Move Finder Items. Set the To to ~/Desktop/iphonemovies. Make sure this is using the input from the previous action.

Finally, add a sixth action, Run AppleScript.

on run {input, parameters}
tell application "VisualHub" to quit
tell application "iTunes" to add input
end run

Save this workflow somewhere in case you have to edit it later. We’re almost done. With the workflow open, File -> Save As Plug-In. Save it for Folder Actions, name it something like “VH to iPhone,” and attach it to the download folder on your desktop.

Try it out. Drop an avi file into your torrents folder on your desktop. VisualHub should automatically spring in to action, load up the settings for the iPhone, and start transcoding to H.264. Once it’s done, the shell script’ll add the TVShow STIK atom, set the name to DailyShow.

From here, all you have to is set iTunes to sync X most recent episodes of DailyShow and you’re set.


You’re done. There are a couple bugs I’ve found though:

  • If VH is transcoding one file and another one falls into the torrents folder, the folder action won’t run because VH is already open.
  • If you subscribe to multiple shows, make sure the name of the feeds in is NNW the same. Transmission can only watch one folder at a time.
  • Not a bug, but this could be easily expanded to transcode to AppleTV or iPod/Touch, just change the settings in the .vhub file.

Enjoy, and leave comments with issues/etc.

More hacks

Looks like the guys over at AwkwardTV have been pretty busy. They’ve managed to Enable USB Storage, got Bluetooth working, and have gotten SMB shares to mount with Apple’s kexts. (No more sharity light!) Big thanks to Turbo at 0xfeedbeef for coming up with a kernel extension enabler which blows most of this stuff wide open.

I have yet to try any of these yet, but it seems like the YouTube patch needs to be removed. You can downgrade to 1.0 by rebooting by holding menu-minus and then choosing Factory Restore. From there, break out your Patchstick and go nuts.

Technorati Tags: , , , , ,

Back to the Firefox: a half-assed not-review of Camino

After a few days of playing with Firefox’s cousin Camino, I have had to revert. 

Camino is a native OS X implementation of Mozilla’s Gecko HTML rendering engine.  Unlike Firefox, it’s written in Cocoa, which lets it integrate with various OS X services, the biggest of which is storing passwords and stuff in your login keychain.  The system-wide dictionary and other things are available as well.  Firefox has a decent password manager that can encrypt stored passwords, but I always liked the idea of jamming everything into my login keychain.  Only one file to backup and re-encrypt elsewhere.

Part of what makes Camino so speedy is its’ almost complete lack of extensions (add-ons), which make Firefox great.  There are a couple “prefpanes” that you can get for Camino, but I’m pretty sure most of these are simply frontends to about:config.

Camino has a built-in adblocker, but nothing beats Adblock Plus with the Filterset.G updater.  It’s download manager needs some tweaking, there’s no mouse gestures, and none of my usual keyboard shortcuts (aside from Cmd-L) worked.  In order to mimic some Firefox functionality I had to redefine shortcuts in the system-wide keyboard prefpane.  For example, Cmd-K puts me in the search dialog in Firefox, whereas I had to redefine this to get it to function with Camino.  Cmd- in FF lets me flip through multiple tabs, but in Camino it starts loading up bookmarks from the bookmarks toolbar.  Other little niceties like ChromaTabs, ScribeFire, Link Alert, and the BugMeNot didn’t exist due to the lack of extensions in Camino.

Overall, Camino’s a great browser with awesome OS X integration, but many aspects leave things to be desired.  I’ve been using Firefox for years becuase it’s pretty secure, fairly stable, and extending its functionality from a browser into a platform is easy.  Camino just needs a little bit of work.

Technorati Tags: , ,

Home Zone

While sifting through news feeds today, I came upon a very cool little app called Home Zone. It’s a slick little app that lives in your menubar and can make your Mac do various things based on the proximity of accesspoints/Bluetooth devices. For example, you can set it to launch apps, disable screensaver password, pause iTunes, and just about anything else you can do in AppleScript.

Home Zone’s currently a free beta download.

[Via The Unofficial Apple Weblog (TUAW)]

Joost running on AppleTV, BRDK, YouTube frapplicance

Joost IconJoost now works on the AppleTV. It doesn’t have a clean exit procedure, so it seems the best way to quit out of it is to crash it.

In other somewhat older news, Alan Quatermain (author of ATV Loader) has released the BackRow Developer’s kit and Xdog has cranked out A Series of Tubes, a plugin to play YouTube videos on the AppleTV.

Technorati Tags: , , , , , ,

Xgrid running on AppleTV

I got Xgrid running on my AppleTV for no real reason other than to see if I could do it. I’ve documented what I did on the AwkwardTV wiki and past the jump.

Update: I found a few bugs in the startup/shutdown of the xgridagentd. All relevant changes are now on the AwkwardTV wiki.

Technorati Tags: ,

Read the rest of this entry »

holy AppleTV network speedups, batman!

Once you’ve gained SSH access on your AppleTV, add the below to your /etc/sysctl.conf and reboot


[Via /dev/root]