I should probably mention this only happens during continuous playback. When<br>
the mediaOject.aboutToFinish SIGNAL is called, I enqueue a track.<br>
<br>
If I stop() the playback, clear() mediaObject then setCurrentSource() there is<br>
no issue, but that is very inconvenient.<br><br>Note: this may be a dupe, sorry if so.<br><br><div class="gmail_quote">2009/10/26 Jonathan Noble <span dir="ltr">&lt;<a href="mailto:jonnobleuk@gmail.com">jonnobleuk@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I&#39;ve got an app that relies on Phonon heavily and i&#39;ve been noticing issues<br>
with mediaObject.currentSource calls.<br>
<br>
I have a function that is linked to mediaObject.currentSourceChanged() and<br>
when it&#39;s called it retrieves info about the currentSource. However, the info<br>
I get rarely refers to the currentSource. It usually returns the last played<br>
file or nothing at all, not the actual currentSource that<br>
mediaObject.currentSourceChanged() is responding to.<br>
<br>
The two main functions i&#39;m using are mediaObject.totalTime() and<br>
mediaObject.fileName()<br>
<br>
Is my understanding for mediaObject.currentSourceChanged() incorrect? Is there<br>
supposed to be a delay between this SIGNAL and reliable calls to mediaObject<br>
afterwards?<br>
<br>
Thanks<br>
<br>
Jon<br>
</blockquote></div><br>