Hi Roger!

2011/9/16 Roger Burton West <[email protected]>:
> I'm new to, and very impressed by, liquidsoap.
>
> I'd like to be able to play files in Musepack format. However, although
> I've set up a decoder using mpcdec (on the same lines as the flac
> decoder example), it's the MP3 encoder that gets invoked.
>
> Is there a way of fixing this? For ease of admin, I'd like to stick with
> the version in debian/stable (0.9.2) - even though I suspect the only
> answer to this will be "recompile with ocaml-magic".

I think that debian's official packages are already compiled with
ocaml-magic enabled. Thus, I would say that libmagic is actually
confused when detecting those files.

If you want to stick to 0.9.2, I think the following steps could help you:
 * First check what mime is actually detected by libmagic for your file:
    file -i /path/to/musepackfile.mpc
My guess here is that it will be one of the generic one that are also
sometimes returned for mp3 -- "application/octet-stream" ?
 * Then play with the "mad.mime_types" setting to make sure the mime
type returned previously is not listed in those used for accepting mp3
files. See there:
  http://savonet.sourceforge.net/doc-0.9.2/settings.html

By the way, which binary do you use to decode musepack files? We
currently have no builtin decoder -- and honnestly no time to prepare
one at the moment -- however, we could perhaps include a predefined
external musepack decoder..

Romain

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to