I've created a new app. call TRAM (Torrent Renamer and Mover). As the name implies it renames and moves TV show torrents. You get to choose the root destination folder and from then on it automatically moves the renamed files to a folder structure based on the show and season.
ie. X:\TV Shows\Lost\Season 4\
If the show and season directories do not exist it will create them for you.
It renames the torrents and get the season and episode data by using the standard naming convention that 99.9999999% of tv show torrents now use.
ie.
lost.s04.e01.hdtv.avi
will get renamed and copied to;
X:\TV Shows\Lost\Season 4\01. The Beggining of the End.avi
The app will also handle .mkv files
There are two xml files that are also needed one is the config file called funny enough config.xml and the other is exceptions.xml.
Config.xml contains the locations for your completed torrents directory and your TV Show directory, either of which can be local or a mapped network drive. A sample of the config.xml file is below.
<Items>
<Item>
<torrentdir>E:\Torrents\Completed</torrentdir>
<tvshowdir>Z:\TV Shows\</tvshowdir>
</Item>
</Items>
The exceptions.xml file contains exceptions to the TV show names used in torrent files and the actual name of TV shows as used by
www.tv.com and
www.thetvdb.com. ie. The torrent files for the show "Brothers & Sisters" are all named as Brothers.and.Sisters.sXXeXX.something.avi or for Battlestar Galactica, tv.com and thetvdb list the new series as Battlestar Galactica (2005) and the torrents all come as Battlestar.Galactica.sXXeXX.something.avi.
The exceptions.xml flie lets you create alternate names for the app to look up when you have a torrent with an incorrect name used. The structure of exceptions.xml is as follows;
<Items>
<Item>
<exception>Greys Anatomy</exception>
<rule>Grey's Anatomy</rule>
</Item>
<Item>
<exception>Doctor Who</exception>
<rule>Doctor Who (2005)</rule>
</Item>
<Item>
<exception>Battlestar Galactica</exception>
<rule>Battlestar Galactica (2003)</rule>
</Item>
<Items>
As you can see the exception is the name in the <exception> </exception> tag and the proper name is in the <rule> </rule> tag. Hopefully if more people use the app. we can exchange and update the exception.xml file as a community.
In the app itself before you can process any torrents I've made a mandatory button called LOAD that double checks to see that all the necessary config and exception files exist and that all the directories pointed to exist beofre it will let you process a TV torrent.
When it runs if there are torrent files that do not conform to the tv.show.sXXeXX.something.avi format it leaves them alone and goes onto the next torrent file. I've also made deleting the torrent file optional via a tickbox so you can continue seeding the torrents if you choose to.
There is no installer yet so just unzip the three files to a directory of your choice, just make sure that all three files stay together.
Here is a link to the zip file in the downloads section.
I'd appreciate and feedback / suggestions and most of all enjoy!
PS: I've written it in
VB .Net 2008 Express (free download from MS), and I'll release the source apon request.