-
|
I've been troubleshooting with @michaelherger the ListenBrainz API implementation for scrobbling from Lyrion. And we came across a non-standard solution in Multi-Scrobbler. Could I ask for a comment? ListenBrainz keeps information about Now Playing from the first message for the duration of the track. And all it needs is one message when it starts playing. Multi-Scrobbler tells StaleAfter 30s and later Orphaned after 60 s from the initial Now Playing message. I haven't found where to adjust these intervals in Multi-Scrobbler (e.g. ENV). Or is this behavior standard for ListenBrainz API? I couldn't find anything on this at https://listenbrainz.readthedocs.io/en/latest/users/json.html#submission-json or https://foxxmd.github.io/multi-scrobbler/docs/configuration/#now-playing FoxxMD/multi-scrobbler@e9e5987/src/backend/sources/PlayerState/AbstractPlayerState.ts#L127-L142 FoxxMD/multi-scrobbler@e9e5987/src/backend/sources/PlayerState/AbstractPlayerState.ts#L91-L96 Thank you very much for clarifying.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
@vysmaty thanks for reaching out The Player implementation for a Listenbrainz Source is functionally superficial. For Sources like Listenbrainz, Maloja, and Last.fm the Source is configured with a flag that tells it that scrobbles (track discovery) only occurs in returned history rather than from monitoring the "currently playing" track from the Source (which they don't really have). Returned history, in the context of the LZ Endpoint Source, is basically everything that is submitted to the endpoint. For these types of Sources the stale after/orphaned triggers don't mean anything. They are left in for these Sources so that the UI eventually clears the "Player" if there hasn't been any submission/activity for awhile.
This is interesting! I did not know that. I think it would be good to update these types of sources to make the Orphaned/stale time = duration of last returned track so that the Player UI more closely emulates Now Playing behavior from the upstream service.
The Now Playing functionality mentioned in the docs is for Clients only. So, if you setup multi-scrobbler like This would not apply to a setup like
What issues have you been having? |
Beta Was this translation helpful? Give feedback.



@vysmaty thanks for reaching out
The Player implementation for a Listenbrainz Source is functionally superficial. For Sources like Listenbrainz, Maloja, and Last.fm the Source is configured with a flag that tells it that scrobbles (track discovery) only occurs in returned history rather than from monitoring the "currently playing" track from the Source (which they don't really have). Returned history, in the context of the LZ Endpoint Source, is basically everything that is submitted to the endpoint.
For these types of Sources the stale after/orphaned triggers don't mean anything. They are left in for these Sources so that the UI eventually clears the "Player" if there hasn't been any sub…