Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-361

Track searches in the webservice return the number of tracks but lookups don't

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: NGS - Beta 2
    • Fix Version/s: NGS - Beta 3
    • Component/s: Web service
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            warp Kuno Woudt
            Reporter:
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                NGS - Beta 3