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

playPause() with selectivePlay = true does not stop playing once the played track has ended #44

Closed
oeroche opened this issue Jul 11, 2014 · 3 comments

Comments

@oeroche
Copy link
Contributor

oeroche commented Jul 11, 2014

When I set playPause(true) the player continues with the next track once the currently played track has ended.

@oeroche
Copy link
Contributor Author

oeroche commented Jul 11, 2014

After a little investigation it looks like the playPause() method set the $autoplay property to true instead of the $selective property (which is the one set to true in the play method). It looks like the problem comes from here.

@colthreepv
Copy link
Owner

you are very right, the argument was called AutoplayNext before and now is SelectivePlay, it has inverse logic but i forgot to inverse it in the code!

@colthreepv
Copy link
Owner

should be fixed thanks to #45

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

2 participants