A decentralized music tracking and discovery platform built on AT Protocol ๐ŸŽต rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
98
fork

Configure Feed

Select the types of activity you want to include in your feed.

All scrobbles being ignored #14

open opened by foxxmd.dev

Previous usage of Rocksky with multi-scrobbler's Listenbrainz implementation worked fine for the one test scrobble I made. This was last week or so. Now though, all the scrobbles I am submitting are being ignored with a successful response.

Example scrobble payload:

{
    "listen_type": "single",
    "payload": [
        {
            "listened_at": 1762789719,
            "track_metadata": {
                "artist_name": "Louie Zong",
                "track_name": "Lavender Town",
                "release_name": "Surfin' GBA",
                "additional_info": {
                    "duration": 102,
                    "submission_client": "multi-scrobbler",
                    "submission_client_version": "rocksky-3e083b1",
                    "artist_names": [
                        "Louie Zong"
                    ],
                    "release_artist_name": "Louie Zong",
                    "release_artist_names": [
                        "Louie Zong"
                    ],
                    "music_service": "spotify.com",
                    "music_service_name": "Spotify",
                    "spotify_id": "7JX4bnEqhkOaYBkuwlPy9F",
                    "spotify_album_id": "1VQrE0P1E9zjhauTCug6IP",
                    "spotify_artist_ids": [
                        "7jOY91ZU7kn86slH3fBbaD"
                    ]
                }
            }
        }
    ]
}

With the response from Rocksky:

{"payload":{"ignored_listens":1,"submitted_listens":0},"status":"ok"}

For further context: The same code is used to generate scrobble payloads for the official listenbrainz. I use the openapi spec recommended in the listenbrainz api docs in conjunction with the payload examples in the listenbrainz docs.

I think the issue may be payload data related on the rocksky side. This payload results in a successful (submitted_listens: 1) response but nothing is recorded in my PDS:

{
    "listen_type": "single",
    "payload": [
        {
            "listened_at": 1762875553,
            "track_metadata": {
                "artist_name": "Louie Zong",
                "track_name": "surfin' unova",
                "release_name": "surfin' GBA",
                "additional_info": {
                    "submission_client": "multi-scrobbler",
                    "submission_client_version": "rocksky-db17455",
                    "artist_names": [
                        "Louie Zong"
                    ],
                    "release_artist_name": "Louie Zong",
                    "release_artist_names": [
                        "Louie Zong"
                    ]
                }
            }
        }
    ]
}

But removing additional_info entirely, from the payload above, does get the scrobble to record into the PDS.

{
    "listen_type": "single",
    "payload": [
        {
            "listened_at": 1762875553,
            "track_metadata": {
                "artist_name": "Louie Zong",
                "track_name": "surfin' unova",
                "release_name": "surfin' GBA"
            }
        }
    ]
}
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:x465pfkrynsh6he46gnznpdh/sh.tangled.repo.issue/3m5bzefrhzx22