Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-727

Serialization of release media is inconsistent in lookup vs. search

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Conversion, Indexer
    • None

      Search example.

              {
                "disc-count": 0,
                "format": "Digital Media",
                "track-count": 9
              }
      

      Lookup example.

           {
            "format": "Digital Media",
            "format-id": "907a28d9-b3b2-3ef6-89a8-7b18d91d4794",
            "position": 1,
            "title": "",
            "track-count": 9
          }
      
      1. The search output includes disc-count (the number of disc IDs attached to the medium), which is fine, but it probably should not be outputted for formats that cannot have disc IDs.
      2. AFAICT, lookups never output disc-count – this property is not outputted by musicbrainz-server at all.
      3. The search output is missing format-id, position, and title.

            Unassigned Unassigned
            bitmap Michael Wiencek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package