Le Saturday 01 September 2007 19:48:26 David Baelde, vous avez écrit :
> Remark #1: This is much nicer than the raw mp3 stream you were talking
> about earlier. It means that start/stop are do-able, but also
> cross-fadings! Now, it sounds like lastFM could almost be a protocol
> rather than a source.

Yea indeed !

> What about the following ? 
>
>  set lastfm.user = ..
>  set lastfm.password = ..
>  s = single("lastfm:rocksteady")

Yes, but we should be able to have different login, hence multiple last 
streams at once..
Is something like:
lastfm://user:[EMAIL PROTECTED] doable ?

> Implementing a protocol is rather easy, you can hand http download to
> the http protocol, edit metadata, and many sources can then use the
> protocol. The only problem (why lastFM is only almost a protocol) is
> that a protocol only gives you one file, not a playlist -- at least
> currently. But is it really a limitation ? In your example the
> playlist contains only one track. Can't we ask for another playlist
> for every track anyway ?

In facts, that's currently what I've been doing so far..
The only thing I see is how we should implement metadatas, since they are 
passed along with the file, but there are no id tags in the file..

> I don't know enough to have a good idea about other comments, like
> (un)love. Anyway, at least your proposal is do-able quite easily on
> top of request_source.ml abstractions.

These functions can be seen as completely disconnected, we may implement them 
later..


Romain
-- 
They swapped my brother now, also, my sister too
for a drink of wine, so they could drink and be merry,
so they could drink and be merry.

Répondre à