I am making a python program which plays mp3 files. But, whenever I run the code I always get this error:
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
[d:\build\libmpg123\mpg123-1.25.10\src\libmpg123\parse.c:1185] error: Giving up searching valid MPEG header after 65536 bytes of junk.
Fatal Python error: PyEval_SaveThread: NULL tstate
Python runtime state: initialized
Current thread 0x00000474 (most recent call first):
File "d:\MARGORP\Python VS Code\Ex7(Healthy_Programmer).py", line 5 in musicon
File "d:\MARGORP\Python VS Code\Ex7(Healthy_Programmer).py", line 13 in <module>
I have also used the same code from python professionals on youtube.
User contributions licensed under CC BY-SA 3.0