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

Add updatePlaylist method, docs and tests. #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sab666
Copy link

@sab666 sab666 commented Sep 25, 2022

I'm developing a player that uses playlists which can be reordered. In order to pass these changes to Amplitude, a new playlist method is required. (In theory I could just create new playlists with a new hash as a name, but that feels hackish. More importantly: it would lose the state of the active_index, so navigation will become unreliable)

It reuses existing code to avoid duplication, and the tests and docs have been updated.

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 this pull request may close these issues.

1 participant