Last Update: 01/21/2011 |
This is my page dedicated to all thing related to MythTV. I'll try to post any patches or updates here that I have created that might be useful to others. Everything I post here is free to use as you like (licensed under the GPL). If you make any improvements or have any suggestions, please drop me a line and met me know. You can use the contact information on the sidebar. My MythTV StoryI first installed MythTV back in the Summer of 2005. It's hard to believe it was that long ago when I took the plunge. I actually played around with the idea of building a media PC for over a year before I finally broke down and did it. I tried a bunch of other different media PC front-ends (Windows Media Center, SnapStream Beyond TV, SageTV, GB-PVR, and probably a few others). I never tried Freevo, because I tried MythTV first and fell in love. Luckily, at the time I had already been using Linux for about 5 years, so it wasn't too difficult to get things working. For those that are curious, here are the specs for the system I built. A few pictures of the installation process are available.
I've been toying around recently about upgrading the box a little bit (mainly going to a dual- or quad-core processor to keep simultaneous heavy task loads from affecting each other). For the most part, the computer works very well. Video playback works without skipping and you can easily record something and watch something else at the same time without causing problems. As you can tell by the card, I don't record HD content (I don't yet have an HDTV and implementing HD content on an HTPC is just so poorly supported that it would be very difficult anyway). Patches and ProgramsBelow you will find some of the patches I've made to MythTV to add some things suited to my taste. MythTV and MAMEThis is the same script available on my blog, so I'll just copy and paste the info here. If you are like me and run MythTV along with some emulators (in this case MAME), you'll notice that by default, the database will import the ROMs using the filename as the name that is shown in the menu. This can be a little annoying, since MAME games are only 8 characters long. In order to easily get around this, I wrote a script that will actually pull out the game information from the XML file generated by MAME and update the database accordingly. In addition to the game name, it will also attempt to extract the year, genre, and version which it was added. The script has comments in the first section that explains the usage. You may need to change a few lines here and there to match your configuration, but it should be pretty self explanatory. However, you are required to have the Config::Tiny, DBI, and XML::Parser perl libraries installed. I won't go into detail on how to do that unless someone really needs it (Google is your friend). Download the MAME Description import script MythVodkaNOTE: MythVodka is no longer updated, so it will not work with current versions of MythTV. There is also built-in support now for Hulu (although I've had trouble getting it to cleanly work), so MythVodka is mostly obsolete.I first found this wonderful plugin around mid-February 2009... right after the Hulu integration was broken. At the same time I learned how it simply took the programs used by other programs, like XBMC, and packaged them into a nice little plugin. I waited a few weeks and eventually people figured out how to get the Hulu integration working again. I installed the plugin and tried it out. I was finally able to watch Hulu programs on my Media PC without needing to tab over to a browser and fumble around with the mouse and keyboard!. The plugin worked, but I didn't really like the way some of the things worked in it, so I decided to make some tweaks of my own. I only use the plugin for Hulu, so this is what they focus on. They are found below. gethulu.pl - 1.0.2At first I was just making little tweaks to the gethulu.pl script, but eventually I just rewrote the whole thing because it was a little sloppy. Here is a list of the changes I made.
This script requires the following Perl modules. For reference, I've listed the Debian Lenny package that installs the module:
Version History:
External Data Update for MythVodkaOne thing I still don't quite understand is why MythVodka tries to actually parse the data from the XML file and put it in the database on demand. The first time you start the plugin, if the data has not been updated today, it will run the code to do so. This type of task is so much better suited to be run as a cron job after the XML creation, so I extracted the concept from the MythVodka source code and created a stand-alone Perl script to do it. This allows you to start up MythVodka for the first time each day with minimal delay. I also needed to fix a few bugs in the way the data was parsed and cached. Here is a list of the changes I made. This script requires the following Perl modules. For reference, I've listed the Debian Lenny package that installs the module: Download coming soon! I still need to clean up the script a bit. |