MythTV Roku Streaming Dir Remove Expired

This is just a quick and dirty script to delete MythTV recordings that had been previously transcoded and moved to the stream directory, but have since been autoexpired out of MythTV. This is an issue because trying to pull data outta the MythTV recording database about a recording that has been deleted causes an errorContinue reading “MythTV Roku Streaming Dir Remove Expired”

MythTV iTunes Compatible XML RSS Feed

Since I’m already transcoding the recordings to h.264, might as well make them easily accessible to my iPhone or Boxee Box or Miro. Since the filenames are more likely to be seen, might as well make them more human readable. The biggest advantage to this renaming a season of a recorded show for archiving usingContinue reading “MythTV iTunes Compatible XML RSS Feed”

MythTV Roku Streaming XML List Generator

Once the files have been created, will need to create an XML file the brightscript program on the Roku DVP can parse to display show data. This bit of perl reads the stream directory, sorts by file creation date, picks out the .mp4 files, uses the MythTV bindings to pull out show data, smashes itContinue reading “MythTV Roku Streaming XML List Generator”

Cable Modem Monitoring w/ Perl

I was wondering what the signal really does at the cable modem, so I’m scraping it with perl and WWW::Curl::Easy Modem Information: Cox Communications Motorola Surfboard SB5101 All I’m doing is grabbing the signal status page from the modem and pulling out the signal quality data using perl. If you have this page, you’re probablyContinue reading “Cable Modem Monitoring w/ Perl”

MythTV Migration

http://www.mythtv.org/wiki/Database_Backup_and_Restore One of my first experiences with mythtv was restoring a recording and a dump of the MySQL database before I could buy my own tuner card. It was cool to see recordings populated and get a feel for the UI, but it was ultimately pretty pointless. Anyhoo, I bork’d my mythbuntu setup and neededContinue reading “MythTV Migration”

Windows Media Services Stats

What good is it to run a service if you don’t know how much it’s being used? I’m all about making my workstation earn its keep. I’m running Windows XP Pro (Volume License). I like Apache, I like AWStats, and AWStats will handle streaming media server logs! Xampp (Awesome-ness for installing a webserver on aContinue reading “Windows Media Services Stats”

Win32 PerfLib

I wanted to get the current number of connected users and used bandwidth of a publishing point on windows streaming media services. I had been watching this with the performance monitor, but I wanted something I could manipulate. http://www.jkrb.de/jmk/docs/Perl5/PerfLib/PerfLib.html http://docs.activestate.com/activeperl/5.8/lib/Win32/PerfLib.html http://www.xav.com/perl/site/lib/Win32/PerfLib.html http://technet.microsoft.com/en-us/library/cc730642%28WS.10%29.aspx Sample code follows.

1wire attic cooling

The attic was hot. Mounting a large fan in the vent seemed to help, but it was drawing 5.5A continuously, which is too much for the thermostat/humidistat my roommate bought. He left it on all the time, which is quite a bit of wasted power. I’ve seen 1wire devices online for quite a while andContinue reading “1wire attic cooling”

Time Lapse Webcam

Project Requirements At work we needed a time lapse camera of our new student center construction project. It needs to run continuously for entire length of construction project – approx 18 months. It should run mostly unattended. Features It captures 1 picture every 5 minutes. Storage capacity is cheap, so after using excel to makeContinue reading “Time Lapse Webcam”