mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2025-01-06 06:28:42 +00:00
Merge pull request #113 from madmouser1/Takealot_format
Takealot: Fixed issue 112 (Format)
This commit is contained in:
commit
d516492d04
1 changed files with 6 additions and 1 deletions
|
@ -733,7 +733,7 @@ function ParseTakealotPage() {
|
||||||
// LOGGER.debug("Tracklist for the selected disc: ", disclistarray[l]);
|
// LOGGER.debug("Tracklist for the selected disc: ", disclistarray[l]);
|
||||||
var disc = {
|
var disc = {
|
||||||
'position': l + 1,
|
'position': l + 1,
|
||||||
'format': releaseformat,
|
'format': DiscFormats[releaseformat],
|
||||||
'tracks': disclistarray[l]
|
'tracks': disclistarray[l]
|
||||||
};
|
};
|
||||||
release.discs.push(disc);
|
release.discs.push(disc);
|
||||||
|
@ -773,6 +773,11 @@ function ParseTakealotPage() {
|
||||||
// Takealot -> MusicBrainz mapping //
|
// Takealot -> MusicBrainz mapping //
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
var DiscFormats = new Array();
|
||||||
|
DiscFormats["CD"] = "CD";
|
||||||
|
DiscFormats["DVD"] = "DVD";
|
||||||
|
DiscFormats["Audio CD"] = "CD";
|
||||||
|
|
||||||
var Languages = new Array();
|
var Languages = new Array();
|
||||||
Languages["Afrikaans"] = "afr";
|
Languages["Afrikaans"] = "afr";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue