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

Please no autoplay on favorite set command #173

Open
MartinEhg opened this issue Sep 6, 2022 · 0 comments
Open

Please no autoplay on favorite set command #173

MartinEhg opened this issue Sep 6, 2022 · 0 comments

Comments

@MartinEhg
Copy link

is it possible to implement a state or whatever, to control the autoplay when I set a favorite?

My solution is to comment out the play command in main.js:

} else if (id.state === 'favorites_set') {
                promise = player.replaceWithFavorite(state.val)
                 /*   .then(() => player.play())  */
                    .then(() => {

but this solution is a hard coded hack. It would be nice to have a state like 'autoplay' (boolean) where the user can set if he wants to have the play state after setting the favorite or not.

@MartinEhg MartinEhg changed the title No autoplay on favorite set command Please no autoplay on favorite set command Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants