lib/movie.rb in pirate-autonzb-0.4.1 vs lib/movie.rb in pirate-autonzb-0.4.2
- old
+ new
@@ -172,10 +172,10 @@
if !imdb_year.nil? && imdb_year != 0
@year = imdb_year
end
end
- def add_imdb_id_to_file_if_not_present
+ def add_imdb_id_to_file
dir_name = File.dirname(path)
ext_name = File.extname(path)
base_name = File.basename(path, ext_name)
if matched = base_name.match(/^(.*)\s(\[{1}.*\]{1})$/)
base_name_without_srts = matched[1]
\ No newline at end of file