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

Search Spotify API #64

Open
4 tasks
IkeHunter opened this issue Oct 31, 2024 · 0 comments
Open
4 tasks

Search Spotify API #64

IkeHunter opened this issue Oct 31, 2024 · 0 comments

Comments

@IkeHunter
Copy link
Collaborator

Info

When an admin or a member tries to queue up a track (song), they will want to search spotify in order to choose a certain track. They may want to search by track, album, or artist name.

Task

  • Create a new searchTracks method in the spotify service. Ideally, it should probably take in the spotify credentials to use, and the search query - it shouldn't need to do any communication with the jukebox service, to avoid a circular dependency issue.
    • Should connect to spotify sdk and search tracks
    • Returns the tracks it found
  • Create a new api route in the jukebox controller that takes in jukebox_id as a param, and allows users to search spotify tracks using the active spotify account saved to the jukebox.
    • Note: The user should never be able to see what spotify account is being used, or the credentials of that account. As an example, a club member will search up tracks, but the server will use the spotify account for the club president to make that request, this makes it so the member doesn't have to connect spotify. We may change this in the future if it proves to be a) confusing, or b) a security problem.
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