From 9b7a5360bc0c1b9fe651d88f624db606ddd0b9c5 Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Fri, 24 Jun 2011 15:39:19 +0400 Subject: [PATCH] Artist mbid fix --- app/controllers/import_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/import_controller.rb b/app/controllers/import_controller.rb index 00e9a33..d48414d 100644 --- a/app/controllers/import_controller.rb +++ b/app/controllers/import_controller.rb @@ -35,7 +35,7 @@ class ImportController < ApplicationController artist.desc = artist_lastfm['bio']['summary'] artist.pic_url = artist_lastfm['image'][3]['content'] artist.artist_type = artist_mb['artist']['type'] - artist.mbid = artist_lastfm['mbid'] + artist.mbid = artist_mb_data[:mbid] # Get albums from MB release_groups_mb = brainz.release_group(nil, :artist => artist_mb_data[:mbid])['release_group_list']['release_group']