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

Create API call to Spotify to DELETE all songs from master playlist #25

Closed
m4ndycheung opened this issue Jan 20, 2024 · 3 comments · Fixed by #34
Closed

Create API call to Spotify to DELETE all songs from master playlist #25

m4ndycheung opened this issue Jan 20, 2024 · 3 comments · Fixed by #34
Assignees

Comments

@m4ndycheung
Copy link
Owner

No description provided.

@ManSangSin
Copy link
Collaborator

issue: the uri of each track we want to remove is required to be sent in the fetch API to delete the songs from the playlist

we will need a function to read the current spotify playlist and return the uri of each track inside the playlist

uri example: spotify:track:4iV5W9uYEdYUVa79Axb7Rh [spotify:datatype:id]

@m4ndycheung
Copy link
Owner Author

function to read the current spotify playlist and return the uri of each track inside the playlist

uri example: spotify:track:4iV5W9uYEdYUVa79Axb7Rh [spotify:datatype:id]

What did you decide to do with this? Would you like to make that function to read the current Spotify playlist it's own ticket?

@ManSangSin ManSangSin linked a pull request Jan 25, 2024 that will close this issue
@ManSangSin
Copy link
Collaborator

function to read the current spotify playlist and return the uri of each track inside the playlist
uri example: spotify:track:4iV5W9uYEdYUVa79Axb7Rh [spotify:datatype:id]

What did you decide to do with this? Would you like to make that function to read the current Spotify playlist it's own ticket?

Hi, I just made a PR for both the reading and deleting of the tracks. I've separated them in different modules so I can split the PR if its too large

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

Successfully merging a pull request may close this issue.

2 participants