mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-14 04:12:28 +00:00
Get title from ProductDetail
This commit is contained in:
parent
9e075aec21
commit
95eb960737
1 changed files with 1 additions and 4 deletions
|
@ -36,9 +36,6 @@ function retrieveReleaseInfo(release_url) {
|
||||||
});
|
});
|
||||||
return selectors.join(',');
|
return selectors.join(',');
|
||||||
}
|
}
|
||||||
var release_strings = [
|
|
||||||
'Release', 'Lanzamiento', 'Sortie', 'Album', 'Lançamento'
|
|
||||||
];
|
|
||||||
var labels_strings = [
|
var labels_strings = [
|
||||||
'Labels', 'Compañías discográficas', 'Gravadoras'
|
'Labels', 'Compañías discográficas', 'Gravadoras'
|
||||||
];
|
];
|
||||||
|
@ -50,7 +47,7 @@ function retrieveReleaseInfo(release_url) {
|
||||||
// Release information global to all Beatport releases
|
// Release information global to all Beatport releases
|
||||||
var release = {
|
var release = {
|
||||||
artist_credit: [],
|
artist_credit: [],
|
||||||
title: $(contains_or("h3.interior-type", release_strings)).next().text().trim(),
|
title: ProductDetail.name,
|
||||||
year: releaseDate[0],
|
year: releaseDate[0],
|
||||||
month: releaseDate[1],
|
month: releaseDate[1],
|
||||||
day: releaseDate[2],
|
day: releaseDate[2],
|
||||||
|
|
Loading…
Reference in a new issue