Extract the filename or url of the current source of mediaobject in phonon

50 views Asked by At

I'm trying to make a lyrics viewer in my music player created using pyqt and phonon module.for that i need to extract the url of local file or filename of the current source. Is there any idea how i can do it?

1

There are 1 answers

0
Tim Wakeham On BEST ANSWER

QUrl MediaSource.url(self) is what you are after.