Use MBImport.specialArtist()

This commit is contained in:
Laurent Monin 2015-06-21 17:33:38 +02:00
parent 8e1fcea4f7
commit e9baa959b7

View file

@ -98,7 +98,7 @@ var BandcampImport = {
// Release artist credit // Release artist credit
if (bandcampAlbumData.artist.match(/^various(?: artists)?$/i) if (bandcampAlbumData.artist.match(/^various(?: artists)?$/i)
&& various_artists) { && various_artists) {
release.artist_credit = MBImport.makeArtistCredits(['Various Artists']); release.artist_credit = [ MBImport.specialArtist('various_artists') ];
} else { } else {
release.artist_credit = MBImport.makeArtistCredits([bandcampAlbumData.artist]); release.artist_credit = MBImport.makeArtistCredits([bandcampAlbumData.artist]);
}; };