2010-04-27

This commit is contained in:
Aurélien Mino 2012-03-29 00:00:05 +02:00
parent eb4de43d41
commit 3344200310

View file

@ -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]) {