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 like/dislike for tracks in queue #78

Open
4 tasks
IkeHunter opened this issue Jan 2, 2025 · 0 comments
Open
4 tasks

Implement like/dislike for tracks in queue #78

IkeHunter opened this issue Jan 2, 2025 · 0 comments

Comments

@IkeHunter
Copy link
Collaborator

Info

Members/admin should be able to like or dislike a track in the queue via REST API. Liking/disliking the currently playing track is possible via the POST /api/v1/jukebox/{jukebox_id}/player-state route, use that as inspiration. A new route will probably need to be created, along with a new set of DTOs.

After dis/liking a track in the queue, make sure to emit the track-queue-update in the websocket to update all of the frontends (via JukeboxGateway.emitTrackQueueUpdate).

When referring to the queue, ignore the default spotify queue that shows up if "our" queue is empty. We only need to store data on tracks in the queue that "we" manage.

Tasks

  • Should be able to like any track in queue
  • Should be able to dislike any track in queue
  • Websocket is called when liking a track
  • Websocket is called when disliking a track
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