[API Request] Timeline API for proper client playback status report #211
Replies: 4 comments 16 replies
-
|
Is this similar to player https://ampache.org/api/api-json-methods#player Where you will report the status of the clien tstate to the server? |
Beta Was this translation helpful? Give feedback.
-
|
I think this is a good idea. Should there also be a |
Beta Was this translation helpful? Give feedback.
-
|
As part of this, should we extend the getNowPlaying to provide precise information (position/state)? I think it is just a couple of extra fields, that can be ignored by old clients as usual. |
Beta Was this translation helpful? Give feedback.
-
|
Question about the new extension: When a new client uses Previously the client had full control on when to process the scrobble (count as played). If servers now do that, clients lose control of this, right? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Type of change
API extension
Proposal description
Allow clients to properly report their timeline for display purpose on the server or forwarding to external services like discord.
Goal is to replace scrobble with submission=false with something actually usable.
Backward compatibility impact
No response
Backward compatibility
API details
Quick TL;DR; for discussion.
Extension name:
playbackReportEndpoint:
reportPlayback.viewParams:
songId,position,state(playing, paused, stopped),playbackRate(Default 1f),playbackRate,duration,ignoreScrobble.ignoreScrobbleis added here as a way for clients to eventually migrate to only use this endpoint to leave the server manage scrobbling based on more accurate data.Clients who wants to opt out still can and still use the scrobble with submission.
getNowPlayingreturn will have the new fields returned as well.Security impacts
No response
Potential issues
No response
Alternative solutions
No response
Beta Was this translation helpful? Give feedback.
All reactions