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

Listen list should use first front cover for a release

XMLWordPrintable

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

      I have listens for which ListenBrainz listen list makes a strange selection for showing the cover art in the listens list.

      This is the listen metadata:

      {
        "track_metadata": {
          "track_name": "Live Forever",
          "artist_name": "Black Sabbath",
          "release_name": "13",
          "additional_info": {
            "duration_ms": 286540,
            "tracknumber": 6,
            "artist_mbids": [
              "5182c1d9-c7d2-4dad-afa0-ccfeada921a8"
            ],
            "release_mbid": "0555caba-7d50-45ee-a6aa-40e4f6d4ae0f",
            "recording_mbid": "4c4b2797-a333-468a-9a6e-39c481559803",
            "submission_client": "navidrome",
            "submission_client_version": "0.50.2 (823bef54)",
            "recording_msid": "2030aa71-e9b7-4c36-8977-3b03d30ae487"
          },
          "mbid_mapping": {
            "recording_mbid": "4c4b2797-a333-468a-9a6e-39c481559803",
            "recording_name": "Live Forever",
            "release_mbid": "c3da7321-1905-4f3f-87e7-88cfab5f72fb",
            "artists": [
              {
                "artist_mbid": "5182c1d9-c7d2-4dad-afa0-ccfeada921a8",
                "artist_credit_name": "Black Sabbath",
                "join_phrase": ""
              }
            ],
            "artist_mbids": [
              "5182c1d9-c7d2-4dad-afa0-ccfeada921a8"
            ],
            "caa_id": 14730609918,
            "caa_release_mbid": "c526d630-1afe-46d4-ae5b-7f6725cc36f9"
          }
        },
        "listened_at": 1705596497,
        "recording_msid": "2030aa71-e9b7-4c36-8977-3b03d30ae487",
        "user_name": "outsidecontext",
        "inserted_at": 1705596641
      }

       

       

      The data contains "caa_release_mbid", but that's not being used. It would be the cover art for the release c526d630-1afe-46d4-ae5b-7f6725cc36f9, which would be ok.

      However, the listen list uses the cover art for the submitted release 0555caba-7d50-45ee-a6aa-40e4f6d4ae0f . As this was explicitly submitted and the release has cover art this would probably be even better.

      The release has two front covers set. The first one has only the type "front" and only shows the front cover. The second one has types front, back and spine and shows not only the front, see https://ia802600.us.archive.org/18/items/mbid-0555caba-7d50-45ee-a6aa-40e4f6d4ae0f/mbid-0555caba-7d50-45ee-a6aa-40e4f6d4ae0f-13213994268_thumb250.jpg

      This is being used:

      Expected result:

      • The very first cover image of type "front" should be used if there are multiple. It is a common convention to have the image really showing the front at first position.
      • Probably the display should also favor images with only the type "front" over images that have multiple types, including "front"

            Unassigned Unassigned
            outsidecontext Philipp Wolfer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package