On Wed, Nov 19, 2008 at 9:27 PM, Gil Brandão <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 1:55 PM, David Baelde <[EMAIL PROTECTED]> wrote:
>
>>
>> This time, I have to disagree with Romain. There is some synchrony at
>> some level, but the end-user picture is different, that's what matters
>> here. There are operator which switch to different sources in an
>> asynchronous way.
>>
>> The extreme case is the mix() operator, fully controllable from
>> telnet, which allows you to select, from a list of children sources,
>> which ones to play -- and with which volume ratio in the mix.
>>
>
> OK, it seems that mix does do what I need, albeit to powerful ( I'm
> not complaining about that ;) I'm going to dig further on this.
>


Mix operator it's always available, right? I looked into to the source
code and on line 36 (mixtable file) it states "method stype =
Infallible" under no conditions (I don't know ocaml, but I do know how
to program ;). This isn't good, because the last thing I'd want is to
have a blank stream due to technical problems. This doesn't mean that
we don't want blank streams (so unconditional blank detection is not a
choice).

>> Often, one simply needs a track insensitive switch (typically
>> fallback(track_sensitive=false)) which immediately switches to a
>> source when it becomes available. If that source is a queue, it
>> becomes available when you push a request to it, and the request is
>> successfully prepared.
>>
>
> My problem with fallback is that I'm thinking in implementing the
> intermissions as random playlists. But intermissions are not the
> fallback safe (default) playlist. So ,is there any way to mark a
> playlist as invalid/unavailable?
>

So back to "fallback"...  I'll try to state the problem in a clear
way: I would like to queue a source.  (e)Queues handle requests. But
what is a request? From concepts.html:

"An abstract notion of files: requests

The request is an abstract notion of file which can be conveniently
used for defining powerful sources. A request can denote a local file,
a remote file, or even a dynamically generated file. They are resolved
to a local file thanks to a set of protocols. Then, audio requests are
transparently decoded thanks to a set of audio and metadata formats.

The systematic use of requests to access files allows you to use
remote URIs instead of local paths everywhere. It is perfectly OK to
create a playlist for a remote list containing remote URIs:
playlist("http://my/friends/playlist.pls";).    "

how can I "push" a "generic request" into a queue?  So far I could
only successfully push valid audio files uris (that is what is
documented in reference.html). The request.queue function even has an
initial list of requests parameter, how can I manipulate that queue to
asynchronously push a "generic request" ?



Another issue, the help command in the telnet interface, states some
interactive variables. I could not find a way to used them... what is
their propose? how to defined them?

Thank you very much

Gil

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to