Feature Request: PubSub instead of Polling

Reply
Highlighted

Feature Request: PubSub instead of Polling

Casual Listener

It would really simplify a lot of app logic to be able to register to a publishing server. Ideally the server would dispatch events to clients registered for the information relevant to them. Events such as user play/pause, FF/RW, adding tracks to playlists, etc. It would cut down a lot on extraneous API calls to sync data locally with the server data if they use controls outside of our app.

2 Replies
Highlighted

Re: Feature Request: PubSub instead of Polling

Spotify
Spotify

Thanks for the suggestion! I will share it with other members of the team. Would you be able to tell us more about the use case in the app that you are building? What does your app do?

Highlighted

Re: Feature Request: PubSub instead of Polling

Casual Listener

This or websockets would be incredibly useful.

 

How is Discord connected to the current player state on any device? Maybe it would be helpful to share this with the developer community so we can build better apps.

SUGGESTED POSTS