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

tracks.scrobble does not work when api_sig is passed in request data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • last.fm compatible API
    • None

      I get an error when trying to scrobble to listenbrainz using api_compat. As far as I can see, this is because record_listens does not account for field api_sig in the request data, leading to an "empty" track being added, which leads to it breaking later. If I remove api_sig from the request, it works as expected.

      api_sig is a signature required in each track.scrobble request. 

       

      Steps to reproduce:

      Try to run this code after adding getting tokens and session_key from listenbrainz

      https://gist.github.com/paramsingh/a4764b16afd290f577e00bade51ef5ab

       

            iliekcomputers Param Singh
            iliekcomputers Param Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package