[Mac/Linux] Convert TV episodes with dated filenames to S##E##

Come up with a useful post-processing script? Share it here!
Post Reply
ballsmag
Newbie
Newbie
Posts: 1
Joined: November 19th, 2009, 12:57 pm

[Mac/Linux] Convert TV episodes with dated filenames to S##E##

Post by ballsmag »

This is for people who get The Daily Show or The Colbert Report.

You will need to enter an API key from www.thetvdb.com, and date sorting in sabnzbd+ 0.5 with this format string:

Code: Select all

%sn/%sn %y-%0m-%0d.%ext
You will also need ruby (obviously), curl and unzip.  I don't really care to maintain this but you have the source code now. One obvious improvement would be to switch away from the very slow rexml parser to libxml-ruby or hpricot.  It's pretty CPU-intensive as-is.

Hopefully this helps someone.

Get the code at gist: http://gist.github.com/290159
Last edited by ballsmag on May 13th, 2010, 9:20 am, edited 1 time in total.
Post Reply