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 support for deleting music from play queue #115

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

EndCredits
Copy link
Collaborator

Greetings, devs.

This pull request attempting to implement a feature requested by #111

When it comes to why we need commit ee75308. I think It's an inelegant approach directly hacking trackList to modify trackID. So I choose to check whether we are attempting to delete the song we are currently playing. If so we switch to previous song first then delete the song that user wants to delete. After that switch to the next song and continue our play.

Test: Build and basic function check, try to delete song from the playing queue and it works

CI build can be found here: 22

Copy link
Owner

@Sherlockouo Sherlockouo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@Sherlockouo Sherlockouo merged commit ceabf0c into Sherlockouo:dev Feb 1, 2024
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.

2 participants