Artist mbid fix
This commit is contained in:
parent
8b464659dc
commit
9b7a5360bc
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue