2011-06-14 20:01:42 +00:00
|
|
|
require 'uri'
|
|
|
|
require 'open-uri'
|
2011-06-14 16:05:12 +00:00
|
|
|
namespace :db do
|
|
|
|
desc 'Imports data from MusicBrainz database'
|
|
|
|
task :import => :environment do
|
2011-06-15 02:24:01 +00:00
|
|
|
ati = ['Jet']
|
2011-06-14 18:06:46 +00:00
|
|
|
ati.each do |name|
|
2011-06-14 21:29:36 +00:00
|
|
|
ImportController.importArtist(name)
|
2011-06-14 18:06:46 +00:00
|
|
|
end
|
2011-06-14 16:05:12 +00:00
|
|
|
end
|
|
|
|
end
|