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

[Enhancement] Add songs in platform playlist when added to Grüvee playlist #152

Open
adilanchian opened this issue Aug 31, 2020 · 0 comments
Labels
✨ enhancement New feature or request

Comments

@adilanchian
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, we have the ability to setup a playlist on behalf of the user in their platform of choice when they login. The only thing we are not doing is adding anymore media to it once it's created. For example, if I add a song to my Grüvee playlist, I would expect my Spotify playlist to also update properly.

Describe the solution you'd like
The way this will end up working is as follows:

  1. Add media to Grüvee playlist
  2. New song document is created for newly added song
  3. FetchAllMedia Firebase function is fired off which gets song data for all other platforms
  4. On client check to see if user has API token available for writing to a playlist
  5. If so, we will be creating a new firebase function to go off to the platform and add the song

One big thing that will be setup here as well is if we are adding a playlist or an album, we need to traverse through all the tracks and them to the playlist separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant