Hi all !
Did you ever though about using libmagic for file type detection in
I don't necessarily mean to remplace auto detection, since our plugin system
works quite good, but it could be very usefull for other things, like in
liq123 scripts for intance, I could use mime type detection to create a
single or playlist source from the script itself..
Also, we could export our autodetection system to liquidsoap scripts, like:
if test.audio.type(path) == "MP3" then
There is a binding at this place:
The build system is a bit outdated, and some small things could be fixed in
the code, but it's working for me...