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

Support "inc=collections" on ws/2/release to get a list of the collections which a release is in

XMLWordPrintable

      Right now, the only way for picard to check whether a release is in a particular collection is to fetch the entire contents of the collection, and check if the release is in the list.
      In the somewhat theoretical case of me having a collection with all my ~2k releases in it, that means that picard has to spend 20 seconds fetching collections before it can do anything useful.
      Ideally, it would be able to easily check whether a release is in a given collection; preferably without doing another query. So the proposal is to add "inc=collections" to the release query, which would include a list of collections containing that release.

            bitmap Michael Wiencek
            kepstin Calvin Walton
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                Schema change, 2012-01-12