<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:giles</id>
  <title>Giles</title>
  <subtitle>Giles</subtitle>
  <author>
    <name>Giles</name>
  </author>
  <link rel="alternate" type="text/html" href="http://giles.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://giles.livejournal.com/data/atom"/>
  <updated>2008-05-30T15:13:17Z</updated>
  <lj:journal username="giles" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://giles.livejournal.com/data/atom" title="Giles"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:giles:145347</id>
    <link rel="alternate" type="text/html" href="http://giles.livejournal.com/145347.html"/>
    <link rel="self" type="text/xml" href="http://giles.livejournal.com/data/atom/?itemid=145347"/>
    <title>How I stopped watching live television.</title>
    <published>2008-01-17T03:51:49Z</published>
    <updated>2008-05-30T15:13:17Z</updated>
    <content type="html">I've spent way too much time on my little TV jukebox project, so in the interest of public service I thought I'd write up my techniques so far. This will be helpful if you too are sick of reality television, want to raise a child in a house without commercials, have a TiVo on its last legs or are becoming increasingly disgusted with your cable/satellite bill. &lt;br /&gt;&lt;br /&gt;Having too much time on your hands will also be incredibly helpful.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How To Make A Computer Into A Multi-Channel TV Network In Your Living Room,&lt;br /&gt;&lt;i&gt;as long as you have all the same hardware and stuff as Giles&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;a name="cutid1"&gt;&lt;/a&gt;&lt;br /&gt;I'll say up front this is a Mac-centric installation. I'm sure it's doable on Windows, but that's not what I did it on.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step One: Ingredients&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Mac Mini hooked up to TV&lt;br /&gt;My TV has a VGA port, I've seen them with DVI or HDMI which can both connect to the DVI port on the Mac with the right cable.&lt;br /&gt;&lt;br /&gt;Big Hard Drive (I'm up to 1TB on Firewire now)&lt;br /&gt;I like using an external so that when the drive starts making horrible noises like my first one did, it's easier to switch it.&lt;br /&gt;&lt;br /&gt;Remote Control&lt;br /&gt;I'm using a Keyspan IR receiver with an Apple remote (because the Keyspan remote broke and I never use the remote on my MacBook.)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://twistedmelon.com/mira/"&gt;Twisted Melon's Mira Software&lt;/a&gt;&lt;br /&gt;Recognizes the remote commands and converts them into Applescripts or whatever is needed. Might not be necessary depending on what you have, but I couldn't get my Apple Remote working with the Keyspan software.&lt;br /&gt;&lt;br /&gt;Lots of DVDs &lt;br /&gt;Seriously, it's kind of pointless otherwise.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://handbrake.fr/"&gt;HandBrake Software&lt;/a&gt;&lt;br /&gt;This is for ripping lots of DVDs. I've had &lt;i&gt;very&lt;/i&gt; few discs fail to read with this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kerstetter.net/page53/page54/page54.html"&gt;MetaX Software&lt;/a&gt;&lt;br /&gt;This lets you make a movie file all pretty with artwork, descriptions, cast members, MPAA ratings, etc.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dougscripts.com/itunes/scripts/ss.php?sp=setvideokindofselected"&gt;"Set Video Kind Of Selected" Script From Doug's Applescripts&lt;/a&gt;&lt;br /&gt;If you want iTunes to treat your TV Shows like TV Shows and not a stack of Movies, you'll need this script.&lt;br /&gt;&lt;br /&gt;A Network And Another Computer&lt;br /&gt;I guess you could plug a keyboard and mouse in and squat in front of your TV, but that would make me sad. I used OpenVNC/Chicken of the VNC/Screen Sharing depending on which version of OS X I had installed at the time.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step Two: Content&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Load up Handbrake, put in a DVD, and pick that DVD as the source for Handbrake. DVD structure varies a lot - basically you have to pick the title or titles off the disc that you want. But all you have to work with is a length of time for each title and one frame of video if you click on "Picture Settings..." Sometimes it's easy to tell what you're ripping - i.e. you're ripping a movie and there's only one 2 hour title on the disc. If you're doing a TV show it can be more complicated - most of the time you can just pick out the 20-ish or 40-ish minute long titles and hopefully they'll be in the right order, but I've had DVDs with the episodes backwards and of course you might end up ripping a bonus feature documentary thinking it's an episode of the show. If you're unsure just use generic filenames (but a different one for each episode, please!) and go in and name them later. You'll want to end up with a file that's named the title of the movie, or for a TV show something like "Show Title, S1E02 The Specific Episode's Title Here" (where S1 is season 1, and E02 is episode 2).&lt;br /&gt;&lt;br /&gt;Handbrake lets you queue up a whole disc's worth of stuff at once, but first we need to setup the presets and preferences. The only preference I change is to use the .m4v "iPod/iTunes friendly" file extension. For the video preset I like to use iPod High-Rez but with 2-pass encoding and Turbo first pass checked. (I saved this as a preset called "iPod High 2 Pass"). Obviously there are higher quality solutions if you have the hard drive space to spare, but I'm not trying to run a film archive here I just want to watch some shows and movies - and if you can watch a YouTube video without vomiting at the quality then my settings should work fine. Once you have the preset ready, go ahead and set up each title you are ripping off the disc and hit "Add to queue" for each one. When you're done, hit Start... and go do something else for a very long time. If you're just doing a one-title movie then you can hit start without adding anything to the queue. &lt;br /&gt;&lt;br /&gt;If you're working on a movie I would take it into MetaX where you can look up the info on Amazon (in various countries) and get some artwork and information to attach to the file. Useful in case you want to sort by MPAA rating or something later on, plus having some artwork looks nicer than the random video frame you'll get as a thumbnail otherwise. I don't bother with MetaX for TV shows. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step Three: Organization&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Once you have a pile of .m4v files ready, you need to add them to iTunes. This will vary a bit depending on what drive you're using but here's a helpful hint: if you start iTunes with the option key on your keyboard held down, it will ask you if you want to change Libraries or create a new one. For example, you could plug an external drive into your regular computer, tell iTunes to create a new Library on it (this will not hurt your existing iTunes library) and then when it's all set up plug the external into your TV computer and use the option-key startup to select that Library for use.&lt;br /&gt;&lt;br /&gt;So, once you have an iTunes Library setup, go ahead and copy or move the .m4v files you have into the iTunes/iTunes Music/Movies folder. Doing this ahead of time instead of just dragging the files onto iTunes will let iTunes add them to the library quickly instead of copying them (which seems to take forever when it's iTunes doing the copying.) Then drag the .m4v files onto the iTunes icon! It'll probably start playing the videos automatically, go ahead and stop it for now and let's get things organized.&lt;br /&gt;&lt;br /&gt;First, Movies. Easy - if you used MetaX they should already have a bunch of information attached and be ready to go.&lt;br /&gt;&lt;br /&gt;For TV shows you'll want to sort the Movies list by name, then select an entire season of a show (click the first, shift click the last.) If you've installed the Set Video Kind Applescript I recommended above you should have a little script icon in your menu bar, click it and tell it to Set Video Kind of Selected. Another window will pop up - in here you just tell it the Video Kind is TV Show (this will make iTunes move it over into the TV Shows section and sort by show) and then type in the name of the show (be sure to be consistent with the show name across seasons!) and the season and episode number to start (so if you ripped episodes 1-6 earlier but now you're coming back to do 7-12, you can pick up where you left off at episode 7). Once everything's filled click "Done" and watch as your shows disappear from Movies and turn into TV Shows like they should be!&lt;br /&gt;&lt;br /&gt;Once all your TV Shows are properly tagged, you could &lt;i&gt;almost&lt;/i&gt; call it a day. If your Mac has Front Row installed, you can already fire up your Apple Remote and browse movies and TV shows all day long. But that's not what I wanted, I wanted &lt;i&gt;channels&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;For this example let's say we're doing four channels - though you can do as many as you like. First you need to divide your programming up into channels. Here's how I did it:&lt;br /&gt;&lt;br /&gt;I created a normal playlist for each channel and stuck a ~ at the front of the playlist names. So let's say ~Action Source, ~Cartoons Source, ~Comedy Source and ~SciFi Source. Now into each of those I dragged the movies and TV shows I wanted in the rotation. Then I created a Smart Playlist for each channel using the following settings:&lt;br /&gt;&lt;br /&gt;Match all the following rules,&lt;br /&gt;Playlist is [insert source playlist here, i.e. ~Cartoons Source]&lt;br /&gt;Last Played is not in the last [you need to set this amount of time depending on how much content you have - if you only have a few hours' worth of shows set it accordingly - in my case it's set to 5 days]&lt;br /&gt;Last Skipped is not in the last [see previous]&lt;br /&gt;Limit to [this depends how much choice you need] items selected by random&lt;br /&gt;Live updating&lt;br /&gt;&lt;br /&gt;So what we end up with is a smart playlist of a few items randomly chosen from the source playlist. Anything you've watched or skipped recently should be rejected, and it's live updating so whenever you watch something all the way through and it's disqualified another item pops into the playlist to replace it.&lt;br /&gt;&lt;br /&gt;Oh - and put the smart playlist on "repeat" in the lower left hand area of the iTunes window so if you skip a bunch of tracks at once it will loop instead of stopping.&lt;br /&gt;&lt;br /&gt;So now we've got some channels, and for a long time this is how I had things set up - I just connected to the machine through VNC or Screen Sharing and switched playlists in iTunes when necessary. But eventually I wanted something a bit easier.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step Four: Control&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I wanted to be able to skip shows and change playlists with a remote. This is how I did it. &lt;br /&gt;&lt;br /&gt;The Mira remote control software I recommended at the start lets you assign functions to buttons on your remote. In my case I left the play/pause button on my remote as play/pause or "space bar" so I could stop and start the show. I don't much want to fast forward within a show so I just set the left/right buttons to Cmd-left and right arrow to skip back and forth entire shows or movies (Mira does have iTunes friendly options here for holding down buttons and so on, it just depends on your remote and what you want to do with it.)&lt;br /&gt;&lt;br /&gt;For the up/down or plus/minus buttons I set them to trigger Applescripts. Ideally you'll want two, one changing channels in one direction and one changing in the other. Here's the ugly brute-force code I ended up with, modified to my needs from discussions in &lt;a href="http://macslash.org/article.pl?sid=04/01/22/1241202"&gt;a forum thread&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;[The stuff after this is AppleScript!]&lt;br /&gt;&lt;br /&gt;tell application "iTunes"&lt;br /&gt;	activate&lt;br /&gt;	&lt;br /&gt;	set curList to current playlist&lt;br /&gt;	name of curList&lt;br /&gt;	&lt;br /&gt;	if name of curList is equal to "CH-Action" then set i to "CH-SciFi"&lt;br /&gt;	if name of curList is equal to "CH-Cartoons" then set i to "CH-Action"&lt;br /&gt;	if name of curList is equal to "CH-Comedy" then set i to "CH-Cartoons"&lt;br /&gt;	if name of curList is equal to "CH-SciFi" then set i to "CH-Comedy"&lt;br /&gt;	&lt;br /&gt;	&lt;br /&gt;	tell source "Library"&lt;br /&gt;		tell playlist i&lt;br /&gt;			set this_track to some track&lt;br /&gt;			set this_name to the name of this_track&lt;br /&gt;			set this_artist to the artist of this_track&lt;br /&gt;			set this_album to the album of this_track&lt;br /&gt;			play this_track&lt;br /&gt;		end tell&lt;br /&gt;	end tell&lt;br /&gt;	&lt;br /&gt;	if name of curList is equal to "CH-Action" then set thename to "Science Fiction"&lt;br /&gt;	if name of curList is equal to "CH-Cartoons" then set thename to "Action"&lt;br /&gt;	if name of curList is equal to "CH-Comedy" then set thename to "Cartoons"&lt;br /&gt;	if name of curList is equal to "CH-SciFi" then set thename to "Comedy"&lt;br /&gt;	&lt;br /&gt;	if thename is not "" then&lt;br /&gt;		set currVolume to sound volume&lt;br /&gt;		if currVolume &amp;gt; 50 then&lt;br /&gt;			set sound volume to currVolume / 3&lt;br /&gt;		else&lt;br /&gt;			set sound volume to currVolume / 2&lt;br /&gt;		end if&lt;br /&gt;		say "This is " &amp; thename&lt;br /&gt;		set sound volume to currVolume&lt;br /&gt;	end if&lt;br /&gt;	&lt;br /&gt;end tell &lt;br /&gt;&lt;br /&gt;[The stuff before this is AppleScript!]&lt;br /&gt;&lt;br /&gt;So basically what happens here is you click up (or down) and Mira triggers this script, then the script checks what playlist/channel you're on. It takes you to the next playlist in whatever order you specify, and then cuts the program volume and speaks over it to say "This is Action/Comedy/etc."&lt;br /&gt;&lt;br /&gt;So far I've resisted the temptation to set up a channel with nothing but the movie "300" on it, and when you switch to it it would say "This is Spartaaaaaaaaa." I'm weakening though.&lt;br /&gt;&lt;br /&gt;Obviously if you want to change channels back and forth you do another script for the other direction with the order of the playslists/channels reversed. &lt;br /&gt;&lt;br /&gt;That's about it!&lt;br /&gt;&lt;br /&gt;Of course as an added bonus to all this you can turn on Sharing in iTunes and then you can play your shows and movie from any other computers on the network - and if you have AppleTV(s) they'll happily use it as a source for streaming as well. &lt;br /&gt;&lt;br /&gt;Obviously this isn't a great plan if you have 5 DVDs lying around your house - but at last check I have 28 &lt;i&gt;days&lt;/i&gt; of video ripped and I'm nowhere near done with the DVDs yet. I can set it up to switch between genres, specific shows, all feature-length movies, whatever I want. And there's never any commercials, and I can go to sleep watching cartoons and wake up with cartoons still on. Geek &amp;lt;3&lt;br /&gt;&lt;br /&gt;For bonus points rip all your Angel and Buffy DVDs and try to mix the episodes together in &lt;a href="http://google.com/answers/threadview?id=211562"&gt;correct chronological order&lt;/a&gt; :) &lt;br /&gt;&lt;br /&gt;Good night!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:giles:142494</id>
    <link rel="alternate" type="text/html" href="http://giles.livejournal.com/142494.html"/>
    <link rel="self" type="text/xml" href="http://giles.livejournal.com/data/atom/?itemid=142494"/>
    <title>giles @ 2007-08-26T21:52:00</title>
    <published>2007-08-27T02:28:10Z</published>
    <updated>2008-05-30T15:13:11Z</updated>
    <content type="html">I know the internet doesn't need any more discussion of Bioshock right now. But I put off buying it, it's going to take 8 hours to download off Steam, and since I can't play it I'm going to talk about it instead.&lt;br /&gt;&lt;br /&gt;I honestly thought I wasn't jumping on the Bioshock bandwagon. "I'll just wait for Tabula Rasa," I said, since I had already pre-ordered it on the strength of the words Lord, British, and Ankh. Plus I didn't want Bioshock once I found out that the big deep sea diver guy in all the press coverage wasn't the player character. I would love one of those things, I'd wear it to the store and then hang around in ponds all day. &lt;br /&gt;&lt;br /&gt;So I downloaded the Bioshock demo anyway and it was all pretty and detailed. I didn't really want to shuffle around underwater murdering strangers for hours and hours though. I rather like games where I have a virtual friend or two hanging around with me, and the occasional helicopter box drone didn't seem to fill that requirement. &lt;br /&gt;&lt;br /&gt;Yet I'm still downloading it because I read a review that mentioned moral choices in the game. And in that moment my will was broken. I love the choice to be nice, or at least decent, in video games. I played both KOTOR games and Fable as a good guy. I mean a really good, annoyed the robes off that old lady in KOTOR2 good guy. I go back and try to play them evil to get my money's worth, but I only get as far as seeing my character all cracked and mean with flies buzzing around him and then I lose interest. I have yet to finish a Grand Theft Auto game, just because they require me to be so &lt;i&gt;criminal&lt;/i&gt;. I wish there was a GTA where I could turn myself in and do community service, I'd play the heck out of that one. Maybe some highway cleanup duty, targeting trash with the shoulder button. I'd like that, it'd be like baking bread in Ultima. I used to defend GTA on the basis that you didn't &lt;i&gt;have&lt;/i&gt; to solicit prostitutes, beat them, and take back your money. But on the other side of that, are there any nice things I can do that I don't have to do? I've tried helping the police chase down and beat people they're chasing, but it always seems to cause a horrible misunderstanding. And stopping at red lights just seems to annoy everyone else!&lt;br /&gt;&lt;br /&gt;So, yeah. I'll murder undersea ghouls all day as long as I get to make a choice &lt;i&gt;not&lt;/i&gt; to murder someone at some point, especially if that choice actually has some impact on the outcome of the game. Plus I'm really looking forward to hacking more gun turrets by playing that pipeline game from the 80s. &lt;br /&gt;&lt;br /&gt;Ooh, five hours to go. They underestimated my mighty DSL! I don't think I'll try to stay up though.</content>
  </entry>
</feed>
