mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 20:02:27 +00:00
2010-04-27
This commit is contained in:
parent
eb4de43d41
commit
3344200310
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ function parseReleases(xmldoc) {
|
|||
trackPosition = "";
|
||||
}
|
||||
|
||||
// Remove "CD" prefix
|
||||
trackPosition = trackPosition.replace(/^CD/i, "");
|
||||
// Multi discs e.g. 1.1 or 1-1
|
||||
var tmp = trackPosition.match(/^(\d)(?=(-|\.)\d*)/);
|
||||
if (tmp && tmp[0]) {
|
||||
|
|
Loading…
Reference in a new issue