lib/import/flame_stabilizer.rb in tracksperanto-2.6.2 vs lib/import/flame_stabilizer.rb in tracksperanto-2.6.3
- old
+ new
@@ -59,11 +59,13 @@
USEFUL_CHANNELS.any?{|e| channel_name =~ e }
end
end
def extract_channels_from_stream(io)
- parser = StabilizerParser.new(&method(:report_progress))
+ parser = StabilizerParser.new
+ parser.logger_proc = method(:report_progress)
channels = parser.parse(io)
+
[channels, channels.map{|c| c.path }]
end
def scavenge_trackers_from_channels(channels, names)
channels.each do |c|
\ No newline at end of file