mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
2012-01-19
This commit is contained in:
parent
a493b840da
commit
e235e4a291
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
|
||||
// @name Import Discogs releases to MusicBrainz
|
||||
// @version 2011-11-29_01
|
||||
// @version 2012-01-18_01
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @icon http://www.discogs.com/images/discogs130.png
|
||||
// @include http://*musicbrainz.org/release/add
|
||||
|
@ -158,7 +158,7 @@ function parseDiscogsRelease(data) {
|
|||
release.labels = new Array();
|
||||
if (discogsRelease.labels) {
|
||||
$.each(discogsRelease.labels, function(index, label) {
|
||||
release.labels.push( { name: label.name, catno: label.catno } );
|
||||
release.labels.push( { name: label.name, catno: (label.catno == "none" ? "[none]" : label.catno) } );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue