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

kill squeezelite when closing the app #51

Merged
merged 2 commits into from
Oct 20, 2024

Conversation

unclejack
Copy link
Contributor

This change modifies the code to keep track of the squeezelite process and to kill it when the app is closed.

The SqueezeLite struct makes it possible to expand this functionality in the future to do other things such as restarting the squeezelite process or implement multiple squeezelite instances.

This change has been tested on Linux.

Fixes #41

This change modifies the code to keep track of the squeezelite process
and to kill it when the app is closed.

The SqueezeLite struct makes it possible to expand this functionality
in the future to do other things such as restarting the squeezelite
process or implement multiple squeezelite instances.

This change has been tested on Linux.
@arctixdev
Copy link
Member

Awesome thanks a lot! This was much needed. Will test on the different platforms and merge. Might have to wait a day or so as I'm pretty busy at the moment, but I'll try to review and release as quickly as possible 👍

Copy link
Member

@arctixdev arctixdev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@arctixdev arctixdev merged commit ffd7857 into music-assistant:main Oct 20, 2024
1 check passed
@arctixdev
Copy link
Member

Thanks you for your help!

@unclejack unclejack deleted the close_squeezelite_on_exit branch October 20, 2024 18:11
@unclejack
Copy link
Contributor Author

Sure, I'll send some other PRs in the future.

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.

Squeezelite not closing when quiting companion
2 participants