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

JSON API does not return disc number information for media

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-07-22
    • Component/s: Web service
    • Labels:
      None

      Description

      The JSON API doesn't return the disc number for media, while the XML API does. Example:

      Has disc number as //medium/position:
      http://musicbrainz.org/ws/2/recording/e3aa9c7f-9871-410a-a6ec-d736db5e21e9?inc=releases+media&fmt=xml

      Doesn't have disc number at all (not even as the position in the "media" array):
      http://musicbrainz.org/ws/2/recording/e3aa9c7f-9871-410a-a6ec-d736db5e21e9?inc=releases+media&fmt=json

      Also useful to know would be the total number of discs in the release.

        Attachments

          Activity

            People

            • Assignee:
              warp Kuno Woudt
              Reporter:
              kovensky Diogo Franco
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2013-07-22