Home > tvrage_rename

tvrage_rename

Tvrage_rename is a project mainly written in ..., it's free.

About

This is a dirty hack that I wrote to automatically rename media files in the 'standard' episode naming format (Show.Name.SXXEXX.Some.Group.Tags.avi) to include the actual episode name as provided by TVRage. Eventually, I'm hoping to abstact this out into a standalone TVRage library, but for now, it does what I want so I'm putting it up here in case anyone finds it useful.

Installing

The only requirements are nokogiri, and read-write access to the files you're wanting to rename. See tvrage_rename --help for help.

Bugs

  • There is a manual workaround in the code for American Dad!. The ! character makes SMB shares blow up, so we have to force it to be American Dad instead.
  • The option parsing is atrocious
  • The code is still a mess