[Mac/Linux] Convert TV episodes with dated filenames to S##E##
Posted: January 29th, 2010, 4:51 pm
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:
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
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.%extHopefully this helps someone.
Get the code at gist: http://gist.github.com/290159