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
block=False is not supported in Linux #2
Comments
Hey there, wasn't aware of the issue thanks. Though when using threading I ran into synchronization issues, so not really too sure on how to rectify that. Will look into it though. |
@CalvinLoke you should use the ffmpeg though or just let it record and sent it as video file |
Sounds like a good idea but the project is to show everything in ASCII inside an terminal 😄 So, when you run a cli environment, it could be tricky to show mpv or something else when no GUI has been installed. |
Alright, fixed the issue with v3 by replacing the playsound library with pygame. Tested it, and it was able to run on Linux. Thanks for bringing the issue up! @0n1cOn3 |
Your welcome. |
block=False is not supported in Linux, you may need to add an thread to execute playsound():
import threading
...
threading.Thread(target=playsound, args=("tng_bad-apple.mp3",)).start()
The text was updated successfully, but these errors were encountered: