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

Restart queue if pressing play when stopped #399

Merged
merged 3 commits into from
Jan 19, 2021
Merged

Restart queue if pressing play when stopped #399

merged 3 commits into from
Jan 19, 2021

Conversation

Qluxzz
Copy link
Contributor

@Qluxzz Qluxzz commented Jan 18, 2021

Currently when all tracks in the queue have been played, and the playback has stopped, the play/pause button does nothing.

This PR copies the behaviour from the desktop client, with the queue restarting from the top and starting to play again if play/pause is pressed.

It also fixes a bug where if adding a track after playback had stopped, play/pause did nothing but next track would advance and play the new track in the queue. Now when pressing play/pause it plays the next track in the queue as expected.

@hrkfdn hrkfdn merged commit 9233559 into hrkfdn:master Jan 19, 2021
@hrkfdn
Copy link
Owner

hrkfdn commented Jan 19, 2021

Looks reasonable, thank you!

@Qluxzz Qluxzz deleted the restart-queue branch January 19, 2021 20:55
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.

None yet

2 participants