No description, website, or topics provided.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.


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


  • 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