mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-14 04:12:28 +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]);
|
||||
var disc = {
|
||||
'position': l + 1,
|
||||
'format': releaseformat,
|
||||
'format': DiscFormats[releaseformat],
|
||||
'tracks': disclistarray[l]
|
||||
};
|
||||
release.discs.push(disc);
|
||||
|
@ -773,6 +773,11 @@ function ParseTakealotPage() {
|
|||
// Takealot -> MusicBrainz mapping //
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var DiscFormats = new Array();
|
||||
DiscFormats["CD"] = "CD";
|
||||
DiscFormats["DVD"] = "DVD";
|
||||
DiscFormats["Audio CD"] = "CD";
|
||||
|
||||
var Languages = new Array();
|
||||
Languages["Afrikaans"] = "afr";
|
||||
|
||||
|
|
Loading…
Reference in a new issue