-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 05/08/2011 18:07, Romain Beauxis wrote:
>>
>> P.S. If you don't know what new features you could add then I have a
>> couple of ideas :)
>> - -format detection based on provided metadata (and skip the libmagic
>> process)
> 
> That's not a bad idea indeed! Could you register a feature request for this?

You mean on your JIRA tracker hosted at Sourcefabric? Sure I will :)

> 
>> - -A switch operator where predicates are dynamically evaluated (and not
>> just time expressions) - I really miss this one;)
> 
> Hmm.. This should already exists.. :-)

Oh my!

> What do you mean exactly??

I don't know if I can explain in a few words. I'll try with an example:
within a given source graph, there's this switch operator with, say, 2
predicates to evaluate in a sequence. When the first predicate is true
it will switch to a source made from a request.dynamic(), as soon as the
first track has been played using this function, the predicates from the
switch will be evaluated once again. If this time the first predicate is
false and the second one is true, then the source will switch to a
blank() or a sine() or whatever. As soon as the function is over we go
back to the switch, and it repeats endlessly like that, until no
predicate is true.
At the moment I have emulated that kind of behaviour with some event
triggers, references, forced failures (fail()), fallbacks, and a full
page of scripting I have yet to debug :(

> 
> Romain
> 
>> On 05/08/2011 17:29, Romain Beauxis wrote:
>>>> P.S. Regarding the libmagic problem: The File utility on Cygwin (v5.05,
>>>>> ldd reports that it uses libmagic) only partially detects the correct
>>>>> file formats as well. For example, MP3 are seen as "Audio files with ID3
>>>>> version X.X.X". File -i always translates that to
>>>>> application/octet-stream, unfortunately. I'll see if updating both the
>>>>> libmagic mime and magic fingerprint databases will be enough to make it
>>>>> work.
>>> Yeah, we used to associate application/octet-stream with mo3 in the
>>> past. I removed it when we added file extensions check...
>>>
>>> You can however still add this mime to the list of mimes attributed to
>>> mp3 format using the decoder.mime_types.mp3 configuration key..
>>>
>>> BTW, the main problem here is that mp3 format is really hard to
>>> detect.. Files usually have garbage at their beginning and this
>>> confuses a lot the detection tests..
>>>
>>> Romain
>>
>> - --
>> best regards,
>>
>> okay_awright
>> <okay_awright AT ddcr DOT biz>
>> [PGP key on request]
>> -----BEGIN PGP SIGNATURE-----
>>
>> iQEcBAEBAgAGBQJOPBIxAAoJEN2X/7ng71pTBQMH+gPxO7wQ7hHjWDjxHKFiINkL
>> cuj5sK/jayw2llOXCF8gpMeJrHaYki3G5+nCVU0NQrOD+wEichZNA97hmep0ZHro
>> QvLnKEUGfAhqeyahAeCx2W+Tz3tIDZRMyuG1YwTcV91yzkVG3xsRIfM5i9/6ikm/
>> CGNiXUMZrdsGuwY/DkWN5tkg/8IvKzfc9ikaZ+eDcenQ1AZMzLADy+Waq8FM3nW0
>> QhcBMb/R7Ed3jcb3xLz3iqbdK8v23bpyLdMO3P3XbCxtlfyz8aLOym5JEMMoqg7N
>> TVy9dAQIqJ3GS+PYXrTwNHT5U7j4y3gj+PlM1zh0xz9nt6Xo9hnhfTsxlelTLF8=
>> =XsU4
>> -----END PGP SIGNATURE-----
>>

- -- 
best regards,

okay_awright
<okay_awright AT ddcr DOT biz>
[PGP key on request]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJOPBvVAAoJEN2X/7ng71pT+WoIAKTsf2bk9FEDqztlkmxlKI04
TVqLaEaC9nb+vDxNXEEyh7uQH4LY5EGWu0PAdKRl8IFrFDDeMFddVQQqDutM4avU
DWa2oKM0JGDTydleYLJw/ymDzuPBLndYWaTlZ6oy3ps5MsIZxdH44yHqhMUT6saU
ph6+7VW4XRRJHzv670nVdwT6YfDYzwsYsEx1ltE4Xb+8bLc18Sk/NaS4cdy1koP3
utl4QxUvwZfAHNoW90B9C8HN6JMATIIPhBCpBT2X/Vo451+sBIkIVtD4JQ4iqa4R
DvB5ZNnVQGckFIlwmj+T2VkWcezpTOioZBSb3b6Bq926tzmVHb8yZQ+V5I0QMjY=
=cNKq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to