Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-368

MessyBrainz: Sort artist_mbids before inserting into the recording_json table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      
      {
          "artist":"Jay\u2010Z & Beyonc\u00e9",
          "artist_mbids":["f82bcf78-5b69-4622-a5ef-73800768d9ac","859d0860-d480-4efd-970c-c05d5f1776b8"],
          "recording_mbid":"5465ca86-3881-4349-81b2-6efbd3a59451",
          "title":"'03 Bonnie and Clyde"
      }
      
      {
          "artist":"Jay\u2010Z & Beyonc\u00e9",
          "artist_mbids":["859d0860-d480-4efd-970c-c05d5f1776b8","f82bcf78-5b69-4622-a5ef-73800768d9ac"],
          "recording_mbid":"5465ca86-3881-4349-81b2-6efbd3a59451",
          "title":"'03 Bonnie and Clyde"
      }
      
      

      Both the above listens are inserted as different listens into MessyBrainz DB but differ only in the sequence which artist_mbids are listed within the listens. This should be sorted. Sorting this will change the data_sha256. It extends to LB too.

            kartik1712 amCap1712
            kartikeyaSh Kartikeya Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package