lib/episode.rb in pirate-autosub-0.2.2 vs lib/episode.rb in pirate-autosub-0.2.3
- old
+ new
@@ -4,10 +4,10 @@
def initialize(tv_show, path)
@path = path
@ext = File.extname(@path)
@name = File.basename(path, @ext)
- @tv_show = tv_show
+ @tv_show = tv_show.gsub(/\s\([0-9]{4}\)/,'').chomp(' ')
@srt = []
search_existing_srt
define_format
define_season_and_episode_number
\ No newline at end of file