Skip to content
This repository was archived by the owner on Jul 4, 2020. It is now read-only.
This repository was archived by the owner on Jul 4, 2020. It is now read-only.

Realtime player state updates #492

@lrholmes

Description

@lrholmes

I'm working on a webapp that incorporates a custom player using the new /player endpoints.

I'm wondering what your recommendations are for keeping track of the user's playback?

At the moment I've implemented a solution that works pretty well when the user stays and controls from my player, but will desynchronise if the user pauses or scrubs from the Spotify player, so I'm going to start polling the GET /player endpoint.

With regards to rate limits and general good practice, how often should I make a request to this endpoint? Every second would be ideal but with many users could that cause rate limit issues?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions