I am working on an application that plays mp3 files using Python 3.5.2 running in IDLE with pygame 1.9.3.The problem is that some mp3 files play correctly and others do not play at all.
Test code used to evaluate the problem:
import pygame
from pygame import mixer
from pygame.locals import *
pygame.init()
mixer.init()
mixer.music.load('good.mp3')
mixer.music.play()
u = input('Good file')
mixer.music.load('bad.mp3')
mixer.music.play()
u = input('Bad file')
The file labeled 'good' plays correctly, while the one labled 'bad' does not. Both files are in the same directory; both files play with a music player; and both files work with python 3.4 and pygame on a Windows 7 machine.