Set default values for packaging, language and script

Most of stuffs imported from Bandcamp is eng/latin, and packaging should be None for digital releases.
This commit is contained in:
Laurent Monin 2014-09-26 11:47:44 +02:00
parent 941638c6ec
commit 8868beeb5c

View file

@ -52,6 +52,9 @@ function retrieveReleaseInfo() {
// FIXME: implement a mapping between bandcamp release types and MB ones // FIXME: implement a mapping between bandcamp release types and MB ones
release.type = bandcampAlbumData.current.type; release.type = bandcampAlbumData.current.type;
release.status = 'official'; release.status = 'official';
release.packaging = 'none';
release.language = 'eng';
release.script = 'Latn';
// map Bandcamp single tracks to singles // map Bandcamp single tracks to singles
if(release.type == "track") if(release.type == "track")