[ 
http://dev.sourcefabric.org/browse/LS-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556#action_17556
 ] 

okay_awright commented on LS-553:
---------------------------------

The feature request is a follow up to a message from the user mailing list.

It appears at least one system returns broken libmagic results indeed: cygwin.
Tested with file v5.07 on a plain linux (fedora 15), file 5.05 on cygwin, and 
liquidsoap 1beta2 or 1beta3 compiled with ocaml-magic support.
Everything works perfectly under fedora, at the opposite mime types are bogus 
with cygwin: MP3s and raw AACs (without any container) are both tagged as 
"application/octet-stream".

e.g.
$ /usr/local/bin/liquidsoap.exe
'print(get_mime("d:\Temp\1\6bc033807e9e4612be50ba31eaf7b521_a"))'
application/octet-stream
No output defined, nothing to do.

$ /usr/local/bin/liquidsoap
'print(get_mime("/tmp/1/6bc033807e9e4612be50ba31eaf7b521_a"))'
audio/mpeg
No output defined, nothing to do.

> media file format detection based on provided metadata
> ------------------------------------------------------
>
>                 Key: LS-553
>                 URL: http://dev.sourcefabric.org/browse/LS-553
>             Project: Liquidsoap
>          Issue Type: New Feature
>          Components: Liquidsoap
>            Reporter: okay_awright
>
> Bypass the libmagic process for file format resolution if some special 
> metadata (e.g. ("format", "AAC+")) are provided by the user with a request. A 
> specific decoder is then only selected based on the value associated with 
> this tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à