View Full Version : Phonon in python

29th December 2008, 23:08
Hello overyone,

Does anyone know if it's possible to use phonon in python right now? If I try to use Qt's phonon it gives me an: 'ImportError: No module named phonon'. And if I try to use use KDE's phonon I can't call Phonon.createPath, it complains the second argument has an invalid type. Even though it's an instance of AudioOutput.

Qt 4.4.3 and KDE 4.1.3.

30th December 2008, 09:42
qt-phonon conflicts with phonon (used by KDE4) so most linux vendors doesn't add phonon support to qt, thus compiled PyQt4 doesn't has Phonon support (AFAIK PyQt4 can't use phonon instead of qt-phonon on compile time to enable phonon support, but it can use qt-phonon or phonon libraries on runtime -- ask on PyQt4 mailing list).

30th December 2008, 11:00
Ok, thanks for the info. I guess the only real option is to wait until they fix PyKDE4.

I'll ask on the PyQt4 mailing list.