beatport_pro_importer: set release artist to 'Various Artists' when > 4

Suggested by CatQuest: http://chatlogs.musicbrainz.org/musicbrainz/2015/2015-06/2015-06-12.html#T21-06-03-216220
This commit is contained in:
Laurent Monin 2015-06-12 23:21:37 +02:00
parent fe64395c72
commit 3572fe2fc9

View file

@ -105,6 +105,9 @@ function retrieveReleaseInfo(release_url) {
} }
}); });
if (unique_artists.length > 4) {
unique_artists = [ 'Various Artists' ];
}
release.artist_credit = MBReleaseImportHelper.makeArtistCredits(unique_artists); release.artist_credit = MBReleaseImportHelper.makeArtistCredits(unique_artists);
release.discs.push( { release.discs.push( {
'tracks': tracks, 'tracks': tracks,