On Wed, 19 Nov 2008, David Baelde wrote:
Hi,
I'll just forward my reply from this morning, for the archive. I
forgot to Cc to the list, and now we have two similar answers.
By the way, just one remark on Romain's mail: the default_duration is
in fact used most of the time, not only for MP3. It is used as soon as
there is no "duration" metadata (containing a decimal float number
giving the duration in seconds). This metadata can be set by any
protocol in the request resolution, it will be set if it is present in
the file's metadata, but is not set by the MP3 and Vorbis decoders.
Cheers,
Thanks to you all. Setting length to very low value it's pretty good
sollution for my problem. I've already created logging sollution in my php
script, so resolve current status of scheduler while only one song is
fetched in advance is much more easier than when liquidsoap fetches many
songs.
My PHP script returns response that look like that:
annotate:file_id="5259",display_title="title":/path/to/file.mp3
Should i add length information to this response? I have that information
available, since every mp3 file is tested at import and i have playtime
information available. But if i understand correctly, still liquidsoap
will query for additional one song? Or only when it detects that it near
end of current song/buffer?
Anyway - adding nocache option to request.dynamic would be very usefull,
especially when somebody (like me) doesn't like to much system() calls :)
But looking on liquidsoap concepts, option like this isn't compatible with
liquidsoap philosophy.
Best regards!
PS. Why there's no text like 'Liquidsoap - swiss army knife for internet
radio broadcasters!' on savonet.sf.net?
--
Łukasz Jarosław Mozer
http://www.baseciq.org
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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