This is what I get if I run your code:
07-Boabdil, BulerÃas.ogg 07-Boabdil, BulerÃas.ogg Traceback (most recent call last): Â File "C:\Users\Bo\Projekt\eclipse workspace\Bo\nametest.py", line 16, in <module> ÂÂÂ pygame.mixer.music.load(open(file_path)) pygame.error: Not an Ogg Vorbis audio stream and if I remove open() I get this 07-Boabdil, BulerÃas.ogg 07-Boabdil, BulerÃas.ogg Traceback (most recent call last): Â File "C:\Users\Bo\Projekt\eclipse workspace\Bo\nametest.py", line 16, in <module> ÂÂÂ pygame.mixer.music.load(file_path) pygame.error: Couldn't open '07-Boabdil, Bulerïas.ogg' I will use ordinary python os calls to copy the file and renaming the copy as a workaround, as I don't see another way around this problem. Thanks for trying to help. Bo) Gino Ingras skrev den 2015-02-14 11:57:
|