/source.json: do artist lookup and return matches in artists.

This commit is contained in:
evazion
2017-11-14 20:24:00 -06:00
parent 58018aeb2b
commit cbd68ac91b
2 changed files with 5 additions and 10 deletions

View File

@@ -64,12 +64,8 @@ module Sources
artist_name
end
def artist_record
if artist_name.present?
Artist.other_names_match(artist_name)
else
nil
end
def artists
Artist.find_artists(url, referer_url)
end
def image_urls