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

JSON serialization of tracks on a medium is inconsistent in lookup vs search

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Schema
    • None

      (Not entirely sure this belongs here or under MBS/Web Service.)

      In a normal release lookup that includes tracks, the "medium" entities have a "tracks" property, which is an array of the returned tracks. This seems like a perfectly sensible and consistent mapping (the media are "media", release events are "release-events", etc).

      The same applies if you do a normal recording lookup that includes releases.

      However, when doing a recording search, the result schema differs. In particular, the "medium" entities have a "track" property instead of "tracks". That seems like a bug (it's certainly annoying for a client library writer like me).

            Unassigned Unassigned
            zastai Tim Van Holder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package