On Tuesday, September 10, 2013 10:02:02 PM Michael Staggs wrote: > The actual code snippet is: > > @pyqtSlot() > def item_clicked(self): > row = self.listWidget.currentRow() > song = musiclist[row] > self.mediaObject = Phonon.createPlayer(Phonon.MusicCategory) > self.audioOutput = Phonon.AudioOutput(Phonon.MusicCategory, self) > Phonon.createPath(self.mediaObject, self.audioOutput) > self.volumeSlider.setAudioOutput(self.audioOutput) > self.mediaObject.setCurrentSource(Phonon.MediaSource(song)) > self.mediaObject.play()
Just bringing back the code from a previous message (found in bin/kmp) with a thought about a possible issue. Have you checked to see if this is being called twice? I can't imagine it could cause the problem you're seeing but I'm not familiar with the peculiarities of Phonon. David _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt