Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update loadpath to "lib/" for more intuitive requires.

  • Loading branch information...
commit dfa77224c194a1c1ee002a6f1242bf77fdf9e41a 1 parent a4610d4
@jasoncodes authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 tv-renamer.rb
View
8 tv-renamer.rb
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
-$:.unshift File.dirname(__FILE__)
+$: << File.dirname(__FILE__) + '/lib'
-require 'lib/tvdb/tvdb'
-require 'lib/tvparser'
-require 'lib/tvrenamer'
+require 'tvdb'
+require 'tvparser'
+require 'tvrenamer'
VALID_VIDEO_TYPES = %w{avi mkv m2v mpg mpeg mov ogm wmv mp4 srt}
QUALITIES = %w{HDTV 720P 1080i Bluray}
Please sign in to comment.
Something went wrong with that request. Please try again.