1
0
Fork 0

Artist mbid fix

This commit is contained in:
magnolia-fan 2011-06-24 15:39:19 +04:00
parent 8b464659dc
commit 9b7a5360bc
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ImportController < ApplicationController
artist.desc = artist_lastfm['bio']['summary'] artist.desc = artist_lastfm['bio']['summary']
artist.pic_url = artist_lastfm['image'][3]['content'] artist.pic_url = artist_lastfm['image'][3]['content']
artist.artist_type = artist_mb['artist']['type'] artist.artist_type = artist_mb['artist']['type']
artist.mbid = artist_lastfm['mbid'] artist.mbid = artist_mb_data[:mbid]
# Get albums from MB # Get albums from MB
release_groups_mb = brainz.release_group(nil, :artist => artist_mb_data[:mbid])['release_group_list']['release_group'] release_groups_mb = brainz.release_group(nil, :artist => artist_mb_data[:mbid])['release_group_list']['release_group']