Le Wednesday 19 November 2008 14:36:52 David Baelde, vous avez écrit : > 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.
Ha, you're right ! You can compute this duration when importing the file in your radio automation system, and then give it back to liquidsoap when submiting songs to play, using the annotate: protocol: annotate:duration="1.23",other_meta="foo":/path/to/file Romain ------------------------------------------------------------------------- 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
