How to get the playableUrl only when the track is about to be played?
Matěj Laitl
matej at laitl.cz
Mon Jan 16 11:24:40 UTC 2012
On 14. 1. 2012 Dirley wrote:
> Ok, I tried that, but it didnt work. Right after prepareToPlay, the
> EngineController calls `play(track.playableUrl())`. Since the playable url
> is being retrieved, the track playableUrl is still empty. So Amarok stops
> the playback. I need a way to make the engine wait for the url to be
> retrieved, like in MultiPlayback:
I see. I thought you would block in prepareToPlay(), but it wouldn't be nice,
anyway.
So I think MultiPlayback capability is the right workaround for you currently.
(make sure you comment its use properly)
Matěj
More information about the Amarok-devel
mailing list