From the Python for Nokia Series 60 documentation, it states that the audio module typically supports WAV, AMR, MIDI, MP3 and AAC file formats. WAV works fine, but I can't seem to get MIDI or MP3 to work. It always terminates with the following error:
SymbianError: [Errno -18] KErrNotReady
Does this mean that the file is not loaded for playback yet? If so, how do I wait for it? I've heard of other problems where if the file isn't encoded _just right_ it'll crash as well.
Any help anyone can offer will be much appreciated.
The applicable code is below.
Code:# Open and play the file. self.sound_obj = Sound.open(item) self.sound_obj.play()

Reply With Quote

