-
Bug
-
Resolution: Fixed
-
High
-
NGS - Beta 2
-
None
copied from http://bugs.musicbrainz.org/ticket/3951 (possibly already fixed in the new webservice?)
A track search returns the offset of the track in the release and a count of the number of tracks on the release, this is fine. But when you lookup a track directly (which generally returns more information) it shows the offset but not the count. Also when you lookup a Puid it returns the offset but not the count.
This is inconsistent and the count should be returned in all cases, its only a tiny amount of data, annd is needed for accurate matching of tracks. Because it is inconsistent and it go against the general principal that lookups return more detail than searches Ive raised it as a bug.
1. Track Query, correct http://musicbrainz.org/ws/1/track/?type=xml&limit=10&query=track%22I%27m%20a%20Realist%22%20AND%20artist:%22the%20cribs%22%20AND%20release:%22I%27m%20a%20realist%22
2. Track lookup, incorrect http://musicbrainz.org/ws/1/track/ef64c8d4-bd79-461b-9c39-c01db6a6635a?type=xml&inc=releases
3. Puid Lookup, incorrect http://musicbrainz.org/ws/1/track/?type=xml&puid=36029f57-cf94-c42d-35c5-7adc067baf76