Permalink
Browse files

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

  • Loading branch information...
jasoncodes committed Apr 10, 2011
1 parent a4610d4 commit dfa77224c194a1c1ee002a6f1242bf77fdf9e41a
Showing with 4 additions and 4 deletions.
  1. +4 −4 tv-renamer.rb
View
@@ -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}

0 comments on commit dfa7722

Please sign in to comment.