-
Notifications
You must be signed in to change notification settings - Fork 114
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
Playsound can't play several mp3 #151
Comments
With playsound 1.3.0 I'm also having trouble. The following example works fine with playsound 1.2.2.
This will play the sound, and then give:
When I try to play it again, using:
|
I believe this issue was fixed three years ago, but was never released to pip. |
IIRC, there’s never been a test case (or suite) that showed a reliable improvement. Bugs like this occurred both with and without any “fixes”.Any PRs to “fix” stuff should include tests that fail without the fix and pass with it. Ideally the test should work on Windows Server, but regrettably Windows Server lacks the media components which makes running the test on Travis…TaylorSent from my iPhoneOn Mar 30, 2024, at 07:00, Gweneph ***@***.***> wrote:
I believe this issue was fixed three years ago, but was never released to pip.
The issue is/was caused by the buffer passed to the dll not being null terminated so if a shorter command was passed after a longer command then there would be unintentional data in the buffer that would be read by the dll. This was fixed by switching to automatically converted arguments.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@PeterBan11 @spatbord I had similar problems with You might want to see my fork that fixes them for me: https://github.com/sjmikler/playsound3. It is available on pip as |
I can't play next mp3 file after another:
from playsound import playsound
playsound("first.mp3")
playsound("second.mp3")
The text was updated successfully, but these errors were encountered: