Artist check within local, mb and lastfm databases

This commit is contained in:
magnolia-fan
2011-09-19 08:07:45 +04:00
parent dffc5bf735
commit 3cd6c111bd
6 changed files with 69 additions and 8 deletions
+7
View File
@@ -22,6 +22,13 @@ class ImportController < ApplicationController
ap e.message
ap e.backtrace
end
if brainz_artist.nil?
artist.mbid = nil
artist.status = 2
artist.save
return 2
end
begin
# Save artist