[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Phonon and currentSource Issues
From:       Jonathan Noble <jonnobleuk () gmail ! com>
Date:       2009-10-26 21:32:18
Message-ID: 200910262132.18881.jonnobleuk () gmail ! com
[Download RAW message or body]

Hi, 
I've got an app that relies on Phonon heavily and i've been noticing issues 
with mediaObject.currentSource calls.

I have a function that is linked to mediaObject.currentSourceChanged() and 
when it's called it retrieves info about the currentSource. However, the info 
I get rarely refers to the currentSource. It usually returns the last played 
file or nothing at all, not the actual currentSource that 
mediaObject.currentSourceChanged() is responding to.

The two main functions i'm using are mediaObject.totalTime() and 
mediaObject.fileName()

Is my understanding for mediaObject.currentSourceChanged() incorrect? Is there 
supposed to be a delay between this SIGNAL and reliable calls to mediaObject 
afterwards?

Thanks

Jon
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic