Andy Reitz (blog)

 

 

I really should have gone to bed a long time ago (but this is just too cool)

| 2 Comments

So, on MacNN today, I noticed a blurb about some instructions for compiling the MythTV Frontend on MacOS X. I had a hard time loading the page (I tried all day -- it was posted to some wiki that was overloaded), but finally managed to get a peek late this evening. I found the instructions for compiling it up, but that looked like a bunch of, well, work. Luckily, I also found a pre-compiled binary, and so I was off to the hacking races. I had to do some mysql hacking, and poke some holes in my DMZ firewall, but even after all of that, I was having issues.

It seems like MythTV stores information about the backend servers in the MySQL database. This information includes the IP address of the server. So, my mythfrontend on MacOS X was connecting to the mysql database on my myth box, and then trying to connect to the mythtv server ports (6543 and 6544) on the backend server. Unfortunately, when I configured mythtv, I was thinking only of the single-box case, and so it appears as if the backend server IP address that I configured is 127.0.0.1, not the real IP of the box. This means that mythfrontend running on my PowerBook was trying to connect to 127.0.0.1 in order to watch TV.

I don't really know how to fix this, but it probably involves changing some data in the database. Not something that I want to do on my PVR, while it is recording Badly Drawn Boy on Last Call with Carson Daly. So, what did I do? Why, I whipped up an SSH tunnel of course. But that's not the amazing part -- the amazing part is that it actually worked! I was able to stream an tonight's episode of The Daily Show, through SSH, over my 802.11g wireless, and watch it in realtime on my PowerBook.

This is really awesome. It means that I now have a wireless TV in my apartment (and it didn't cost me an arm and a leg!). Of course, I don't really need such a thing in my current one bedroom apartment -- but I can envision several uses when I'm back living with a roommate again.

-Andy.

 

 

2 Comments

You have completely blinded me with science.

I'd post some pictures and submit this to slashdot. That is, if you want to have redefine explode.

Rock!