We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running the script as root it fails to play the sound:
Connection failure: Connection refused pa_context_connect() failed: Connection refused
It looks like it is not possible to run paplay with sudo.
The text was updated successfully, but these errors were encountered:
I changed the subprocess.call with playsound https://pypi.org/project/playsound/ if you think it is ok I can submit a merge request.
Sorry, something went wrong.
Yeah, I'd be very happy if you submit a pull request for that. Thanks!
No branches or pull requests
When running the script as root it fails to play the sound:
It looks like it is not possible to run paplay with sudo.
The text was updated successfully, but these errors were encountered: