#86: File's mime support
-------------------------+--------------------------------------------------
  Reporter:  toots       |       Owner:  admin    
      Type:  Feature     |      Status:  new      
  Priority:  1           |   Milestone:           
 Component:  Liquidsoap  |     Version:  0.3.6+svn
Resolution:              |    Keywords:           
-------------------------+--------------------------------------------------
Old description:

> Mime checking are nice to test if a file is really a mp3 and not jpeg.
>
> Could be usefull for mpegurl playlists, since the format is not
> detectable, but the file should be at least a text file.
> Currently, playlist parsing uses the file's content, but the test could
> be added somewhere I think.
>
> A ocaml-magic binding exists, but does not support ocamlfind at the
> moment. I've added it and send the patch upstream, let's see what will
> happen..
>
> Of course any other usefull usage of libmagic are welcomed in this ticket
> :-)

New description:

 Mime checking are nice to test if a file is really a mp3 and not jpeg.

 Could be usefull for mpegurl playlists, since the format is not
 detectable, but the file should be at least a text file.

 A ocaml-magic binding exists, but does not support ocamlfind at the
 moment. I've added it and send the patch upstream, let's see what will
 happen..

 Of course any other usefull usage of libmagic are welcomed in this ticket
 :-)

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/86#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à