So I decided to actually do something with the domain I’ve had for like 9 months now. I never seem to have the time or initiative to actually build a damned blog/photo sharing site for myself so I just decided to fuck it and install WordPress. It was much easier and faster (1 click to install, wait about 5 minutes and then config it a bit). I’ve been meaning to do this for a while since I’ve been starting to write some software for myself and want to share it, but my previous fugly site prevented me from doing anything with it.

So here is the first fruits of my labors: renamer2.rb and riprenamer.rb These two ruby scripts are designed to allow easy renaming of all your (legally) downloaded tv shows! The way it works is this: you run the script from within the folder that you have a bunch of tv shows. It scans the folder for video files and tries to guess the show title, season number, and episode number and then it goes off to epguides.com and scans the site for the episode name. Then it renames it in this fashion: Show Name-S-EE-Episode Name.extension, where S is the season number and EE is the episode number with a leading zero if necessary (ie 01, 02, 03, … 09, 10). If for some reason epguides uses a different show directory than the title that the renamer guesses, you must use a text file named shows.txt located in your home directory ( /home/username on linux or C:\Documents and Settings\username on windows) this file should be in this format: input show name <tab> epguides.com directory name <tab> custom rename string. You can find the epguides.com directory name by going to epguides and searching for the show title and clicking on the show name page — the directory is everything after epguides.com/ without the trailing slash, so, for example, the show Charmed has a page at epguides.com/Charmed/ and you would put “Charmed” in the shows.txt file (without the quotes of course). The rename string can be used to fix errors in the script since it has no way of knowing the proper capitalization of a show and so will only capitalize the first letter of every word.

All this information should be in a readme as well as a license and an installer and everything else, but oh well. Maybe later when all the bugs are out of it.