bin/whereto in where_to-1.0.2 vs bin/whereto in where_to-1.0.3
- old
+ new
@@ -85,14 +85,16 @@
files.sort.each do |file|
puts ''
puts "For file #{file}:"
+ locator.episode_number += 1
+ locator.episode_extension = @options[:extname]
+
%i{season episode_number group}.each do |field|
locator.send("#{field}=", prompt_for(field, default: locator.send(field)))
end
- locator.episode_extension = @options[:extname]
locator.lookup!
locator.episode_title = prompt_for :episode_title, default: locator.episode_title
new_file = locator.locate.filename