lib/movie.rb in pirate-autonzb-0.5.1 vs lib/movie.rb in pirate-autonzb-0.5.2

- old
+ new

@@ -33,10 +33,10 @@ def score @score ||= imdb.score end def dirname - "#{name} (#{year}) #{tags.join(' ')} #{format} #{source} #{sound} #{encoding} #{lang} {#{imdb_id}} [#{srt.join(',')}]".gsub(/\s+/,' ') + "#{name} (#{year}) #{tags.join(' ')} #{format} #{source} #{sound} #{encoding} #{lang} {#{imdb_id}} [#{srt.join(',')}]".gsub(/\s+|\//,' ') end def <=>(other_movie) if imdb_id && other_movie.imdb_id imdb_id <=> other_movie.imdb_id \ No newline at end of file