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

Spotify IDs are not returned on /listens/ API endpoint

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

      I'm currently using mpris-scrobbler to scrobble directly from Spotify to LB, which seems to submit Spotify track IDs.

      While the embedded Spotify player does now show up, the /listens/ end point does not include the Spotify data nor an MBID.

      This is what the API returned for /user/Leo Verto/listens for a song that showed the embedded player on the website:

      {
        "listened_at": 1520957951,
        "recording_msid": "d727e00e-6b18-4a20-9578-92f2f3bce53c",
        "track_metadata": {
          "additional_info": {
            "artist_mbids": [],
            "artist_msid": "275767ff-dce3-4d5e-a710-58541a5afcbe",
            "artist_name": "Florence + The Machine",
            "recording_mbid": null,
            "release_mbid": null,
            "release_msid": "9611875b-f397-4623-aa5e-f9d3ec74709e",
            "release_name": "Lungs (International Version)",
            "tags": [],
            "track_name": "Drumming Song"
          },
          "artist_name": "Florence + The Machine",
          "track_name": "Drumming Song"
        }
      },
      

            iliekcomputers Param Singh
            leo verto Leo Verto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package