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

clarification on submitting custom tags

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • API
    • None

      i was just browsing the IRC logs and found this...

      https://lb-test.readthedocs.org/dev/json.html#submission-json

      i was quite surprised to see that sample JSON it because i posted it on IRC as an example of what i was doing wrong...

      http://chatlogs.metabrainz.org/brainzbot/metabrainz/2015-09-29/?msg=3364838&page=2

      Mineo's gist that i referred to is here https://gist.github.com/mineo/d3657cd61c0b821579de#file-listen-json-L12

      that say custom tags should be sent under ["additonal_info"]["tags"]

      this is further backed up by the server code here which i missed:

      https://github.com/metabrainz/listenbrainz-server/blob/master/webserver/views/api.py#L248

      so i went ahead and updated my script here:

      https://github.com/19379/wsh_marc2003/commit/92710459c43bab8bf33b3d1baa1de25cd06b548d

      i hope i'm doing it correctly now but if that is true, then the readthedocs example needs updating.

            Unassigned Unassigned
            marc2k3 marc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package