mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
Merge commit 'a5138fe3d7013393c5c3f4aaea8510caaf60e40a'
This commit is contained in:
commit
0d4b481ac5
1 changed files with 4 additions and 0 deletions
|
@ -386,6 +386,10 @@ function parseDiscogsRelease(data) {
|
||||||
// Track position and release number
|
// Track position and release number
|
||||||
var trackPosition = discogsTrack.position;
|
var trackPosition = discogsTrack.position;
|
||||||
|
|
||||||
|
if (trackPosition == "" && discogsTrack.sub_tracks) {
|
||||||
|
trackPosition = discogsTrack.sub_tracks[0].position;
|
||||||
|
}
|
||||||
|
|
||||||
// Skip special tracks
|
// Skip special tracks
|
||||||
if (trackPosition.toLowerCase().match("^(video|mp3)")) {
|
if (trackPosition.toLowerCase().match("^(video|mp3)")) {
|
||||||
trackPosition = "";
|
trackPosition = "";
|
||||||
|
|
Loading…
Reference in a new issue