Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement API Resources to allow the Player to Push State Change #66

Open
krak3n opened this issue Aug 1, 2015 · 0 comments
Open

Implement API Resources to allow the Player to Push State Change #66

krak3n opened this issue Aug 1, 2015 · 0 comments

Comments

@krak3n
Copy link
Collaborator

krak3n commented Aug 1, 2015

Currently Soundwave uses Redis to communicate state change to the API which is represented int the FE. Once #65 is merged we will be able to make the changes on Soundwave and Shockwave.

Resources Required

GET /player/queue/next

This resource will get the next track in the queue so it can be preloaded by the player.

DELETE /player/queue/next

This resource will remove the track from the top of the queue, to be called by the player once the track has started playing.

PUT /player/current

This resource will be used by the player to update the current playing track. This would also publish a play event for the FE.

DELETE /player/current

When a track ends the player will use this resource to publish an end event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant