Making trackForUrl asynchronous?

Mark Kretschmann kretschmann at kde.org
Thu May 15 15:20:29 CEST 2008


On 5/15/08, Dan Meltzer <parallelgrapefruit at gmail.com> wrote:
>  After seeing the way ampache currently handles trackForUrl it seems
>  like it may make sense to make it asynchronous (or add a similar
>  asynchronous method such as fetchTrackForUrl.)  This doesn't seem like
>  it would be too difficult, we could either return MetaProxy's until
>  the track was fetched or simply not return a track at all and emit a
>  signal when its fetched.
>
>  Thoughts?

Sounds like a good idea to me, especially since startup can become
really slow with a large number of Ampache tracks in the playlist.

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list